Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nanobind: add a new recipe #20297

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
nanobind: rename .cmake module for linter
  • Loading branch information
valgur committed Apr 25, 2024
commit 25a88812e88dd84659f745843005bf8c525eb4a0
4 changes: 2 additions & 2 deletions recipes/nanobind/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ def package(self):
os.path.join(self.package_folder, "include"))
rename(self,
os.path.join(self.package_folder, self._cmake_rel_dir, "nanobind-config.cmake"),
os.path.join(self.package_folder, self._cmake_rel_dir, "nanobind-conan-config.cmake"))
os.path.join(self.package_folder, self._cmake_rel_dir, "nanobind.cmake"))

def package_info(self):
self.cpp_info.builddirs = [self._cmake_rel_dir]
self.cpp_info.set_property("cmake_build_modules", [os.path.join(self._cmake_rel_dir, "nanobind-conan-config.cmake")])
self.cpp_info.set_property("cmake_build_modules", [os.path.join(self._cmake_rel_dir, "nanobind.cmake")])