Skip to content
Snippets Groups Projects
Commit fb47ed5f authored by calrama's avatar calrama
Browse files

Allow usage of cmake files from build tree

parent 0ab9ea6a
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -50,11 +50,9 @@ install(
DESTINATION ${INSTALL_CONFIGDIR}
)
install(
FILES
${CMAKE_CURRENT_SOURCE_DIR}/cmake/TrackerPlugin.cmake
DESTINATION ${INSTALL_CONFIGDIR}/Modules/${PROJECT_NAME}
)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Modules/${PROJECT_NAME})
configure_file(cmake/TrackerPlugin.cmake Modules/${PROJECT_NAME} COPYONLY)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Modules DESTINATION "${INSTALL_CONFIGDIR}")
set(CPACK_GENERATOR "TXZ")
set(CPACK_PACKAGE_VERSION "${SOURCE_VERSION}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment