2020-05-28 17:09:35 +02:00
|
|
|
configure_file(${PROJECT_NAME}-config.cmake.in ${PROJECT_NAME}-config.cmake @ONLY)
|
|
|
|
configure_file(${PROJECT_NAME}-config-version.cmake.in ${PROJECT_NAME}-config-version.cmake @ONLY)
|
2018-03-23 16:59:38 +01:00
|
|
|
install(
|
2018-03-25 19:00:54 +02:00
|
|
|
FILES
|
2020-05-28 17:09:35 +02:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake
|
|
|
|
DESTINATION lib/cmake/${PROJECT_NAME}
|
2018-03-23 16:59:38 +01:00
|
|
|
)
|
|
|
|
|
2020-05-28 17:09:35 +02:00
|
|
|
install(EXPORT ${PROJECT_NAME}-targets NAMESPACE ${PROJECT_NAME}:: DESTINATION lib/cmake/${PROJECT_NAME})
|