From 6e1242fab97131684de48225e3f72c6ec603d659 Mon Sep 17 00:00:00 2001 From: AR Dabbour Date: Thu, 14 Oct 2021 15:58:04 +0300 Subject: [PATCH] Install the package.xml file --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a30c5882..8fb50a05 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -319,6 +319,7 @@ install(TARGETS SQLiteCpp COMPONENT libraries) install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT headers FILES_MATCHING REGEX ".*\\.(hpp|h)$") install(EXPORT ${PROJECT_NAME}Targets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}) +install(FILES ${PROJECT_SOURCE_DIR}/package.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}) include(CMakePackageConfigHelpers) write_basic_package_version_file(