jrl-umi3218 / jrl-cmakemodules

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

double check PYTHON_INCLUDE_DIR for new cmake versions #516

Closed nim65s closed 2 years ago

nim65s commented 2 years ago

Hi,

This PR follows #513, and deals with the case where we need access to python include dirs but not the shared library.

This was already working with CMake < 3.12, so I'm just moving the block dealing with that outside of the CMake version check.

nim65s commented 2 years ago

Python3::Development.Module seems to be OK