Skip to content

Commit

Permalink
Use a relative symlink for Ign* cmake modules (#405)
Browse files Browse the repository at this point in the history
This unnecessarily absolute symlink inhibits relocation of the project
after installation.

Signed-off-by: Scott K Logan <[email protected]>
  • Loading branch information
cottsay authored Jan 23, 2024
1 parent ecb2fbc commit cbdb0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit cbdb0cc

Please sign in to comment.