No, setting Python_ROOT_DIR
didn't help. Never mind, that it wouldn't neccesarily pick the correct version, as multiple versions of Python may be installed in /opt/local/bin
. Unfortunately, it also ignores Python_EXECUTABLE
and adds it to the warning about unused cmake variables:
CMake Warning:
Manually-specified variables were not used by the project:
BOOST_INCLUDE_DIR
BOOST_LIBRARY_DIR
BOOST_LIB_DIR
CMAKE_OBJCXX_COMPILER
CMAKE_OBJC_COMPILER
CMAKE_POLICY_DEFAULT_CMP0025
CMAKE_POLICY_DEFAULT_CMP0060
Python_EXECUTABLE