The following line
|
file(RELATIVE_PATH REL_INCLUDE_DIR "${CMAKE_INSTALL_PREFIX}/${INSTALL_CMAKE_DIR}" "${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_ROOT_DIR}") |
|
set(CONFIG_INCLUDE_DIRS "\${YAML_CPP_CMAKE_DIR}/${REL_INCLUDE_DIR}") |
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/yaml-cpp-config.cmake.in |
|
"${PROJECT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/yaml-cpp-config.cmake" @ONLY) |
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/yaml-cpp-config-version.cmake.in |
results in the following error:
CMake Error at 3rdparty/yaml-cpp/CMakeLists.txt:325 (file):
file RELATIVE_PATH must be passed a full path to the directory:
install/CMake
every time a cmake file in my project changes. I need to do a complete cache clean for it to be resolved (and then it happens again after I change something). This happens on Windows only and for 2 different projects that I'm aware of.
One option would be to optionally disable yaml-cpp installation, or maybe provide an alternate code path if the path passed to that line is absolute.
The following line
yaml-cpp/CMakeLists.txt
Lines 325 to 330 in d0da144
results in the following error:
every time a cmake file in my project changes. I need to do a complete cache clean for it to be resolved (and then it happens again after I change something). This happens on Windows only and for 2 different projects that I'm aware of.
One option would be to optionally disable yaml-cpp installation, or maybe provide an alternate code path if the path passed to that line is absolute.