Skip to content

Commit

Permalink
feet: install exported targets
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed Jan 8, 2024
1 parent 7247fd4 commit 637bc17
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,11 @@ include(CTest)

add_subdirectory(k4ActsTracking)
add_subdirectory(test)

install(EXPORT ${PROJECT_NAME}Targets
NAMESPACE ${PROJECT_NAME}::
FILE "${PROJECT_NAME}Targets.cmake"
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}/"
)

gaudi_install(CMAKE cmake/${PROJECT_NAME}Config.cmake)

0 comments on commit 637bc17

Please sign in to comment.