1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-17 09:57:02 +00:00

Install CMake export

This commit is contained in:
Todor Prokopov
2022-11-21 16:56:52 +02:00
parent 66431d8ec1
commit 536a581d9e
3 changed files with 24 additions and 2 deletions

View File

@@ -192,6 +192,8 @@ else()
endif()
install(FILES cmake/modules/FindZint.cmake DESTINATION ${CMAKE_MODULES_INSTALL_PATH} COMPONENT Devel)
configure_file("zint-config.cmake.in" "zint-config.cmake" @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/zint-config.cmake" DESTINATION "${SHARE_INSTALL_PREFIX}/zint")
# This needs to be run very last so other parts of the scripts can take
# advantage of this.