Can not get rid of CMP0075 policy: Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES.
Seems cmake_policy(SET CMP0075 NEW)
just does not work.
I beleave this is because of this line (102) inside Modules\CheckIncludeFiles.cmake
:
cmake_policy(GET CMP0075 _CIF_CMP0075
PARENT_SCOPE # undocumented, do not use outside of CMake
)
Why PARENT_SCOPE? Could be inside the add_subdirectory
is it not visible?