From 1de94dbddd04c5b864cefa9c040784505cacca62 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Tue, 23 Jan 2024 16:29:21 -0600 Subject: [PATCH] Use a relative symlink for Ign* cmake modules This unnecessarily absolute symlink inhibits relocation of the project after installation. Signed-off-by: Scott K Logan --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a8e5128..da82078b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,7 +186,7 @@ foreach(cmake_file ${tick_tocked_cmake_files}) ${PROJECT_BINARY_DIR}\/cmake/${ign_cmake_file})") else() install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \ - ${CMAKE_INSTALL_PREFIX}\/${gz_modules_install_dir}\/${cmake_file} \ + ${cmake_file} \ ${PROJECT_BINARY_DIR}\/cmake/${ign_cmake_file})") endif()