Skip to content

Commit

Permalink
Fix CMake installation when using relative install paths
Browse files Browse the repository at this point in the history
  • Loading branch information
THarsszegi committed Jul 25, 2024
1 parent 986140f commit 247eb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rttr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ if(BUILD_INSTALLER)
PATH_VARS RTTR_INSTALL_INC_DIR)

install(FILES ${RTTR_CONFIG_FILE}
DESTINATION ${RTTR_CMAKE_CONFIG_INSTALL_DIR})
DESTINATION ${RELATIVE_RTTR_CMAKE_CONFIG_INSTALL_DIR})

install(EXPORT rttr_targets
DESTINATION ${RELATIVE_RTTR_CMAKE_CONFIG_INSTALL_DIR}
Expand Down

0 comments on commit 247eb25

Please sign in to comment.