Skip to content

Commit

Permalink
export src
Browse files Browse the repository at this point in the history
  • Loading branch information
mcb5637 committed Nov 18, 2024
1 parent 2b0ae7a commit 87128e2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ class Recipe(ConanFile):
"fPIC": True,
"with_test_deps": False,
}
exports = "LICENSE-APACHE", "LICENSE-MIT"
exports_sources = "src/*", "CMakeLists.txt", "cmake/*"
exports_sources = "src/*", "CMakeLists.txt", "cmake/*", "LICENSE-APACHE", "LICENSE-MIT"
generators = "CMakeDeps", "CMakeToolchain"

def requirements(self):
Expand Down Expand Up @@ -62,7 +61,7 @@ def package(self):
self._configure_cmake().install()
rmdir(self, os.path.join(self.package_folder, "cmake"))
rmdir(self, os.path.join(self.package_folder, "share"))
copy(self, "*LICENSE*", src=self.recipe_folder, dst=os.path.join(self.package_folder, "licenses"))
copy(self, "*LICENSE*", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses"))

def package_info(self):
self.cpp_info.libs = ["metall-ffi"]
Expand Down

0 comments on commit 87128e2

Please sign in to comment.