Skip to content

Commit

Permalink
Use a relative symlink for Ign* cmake modules
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 <logans@cottsay.net>
  • Loading branch information
cottsay committed Jan 23, 2024
1 parent ecb2fbc commit 1de94db
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 1de94db

Please sign in to comment.