mirror of
https://github.com/conan-io/conan-center-index.git
synced 2025-08-06 02:37:55 +00:00
(#21614) nvtx: add package_type
This commit is contained in:
@@ -16,6 +16,7 @@ class NVTXConan(ConanFile):
|
|||||||
url = "https://github.com/conan-io/conan-center-index"
|
url = "https://github.com/conan-io/conan-center-index"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
topics = ("profiler", "nvidia", "nsight")
|
topics = ("profiler", "nvidia", "nsight")
|
||||||
|
package_type = "header-library"
|
||||||
settings = "os", "arch", "compiler", "build_type"
|
settings = "os", "arch", "compiler", "build_type"
|
||||||
no_copy_source = True
|
no_copy_source = True
|
||||||
|
|
||||||
@@ -26,8 +27,7 @@ class NVTXConan(ConanFile):
|
|||||||
self.info.clear()
|
self.info.clear()
|
||||||
|
|
||||||
def source(self):
|
def source(self):
|
||||||
get(self, **self.conan_data["sources"][self.version],
|
get(self, **self.conan_data["sources"][self.version], strip_root=True)
|
||||||
destination=self.source_folder, strip_root=True)
|
|
||||||
|
|
||||||
def build(self):
|
def build(self):
|
||||||
pass
|
pass
|
||||||
|
Reference in New Issue
Block a user