jrl-umi3218 / jrl-cmakemodules

CMake utility toolbox
https://jrl-cmakemodules.readthedocs.io/en/master/
Other
59 stars 47 forks source link

Fix export for Python modules #535

Closed jcarpent closed 2 years ago

nim65s commented 2 years ago

I think this won't work with CMake < 3.14, where we won't export the Python::NumPy target (ref l.101). Maybe we could set(SEARCH_FOR_NUMPY TRUE) in Config.cmake.in ?

jcarpent commented 2 years ago

I think this won't work with CMake < 3.14, where we won't export the Python::NumPy target (ref l.101). Maybe we could set(SEARCH_FOR_NUMPY TRUE) in Config.cmake.in ?

Do you want to populate PYTHON_EXPORT_DEPENDENCY_MACROS with this?