Skip to content

Commit 6e1242f

Browse files
authored
Install the package.xml file
1 parent beb2b29 commit 6e1242f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ install(TARGETS SQLiteCpp
319319
COMPONENT libraries)
320320
install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT headers FILES_MATCHING REGEX ".*\\.(hpp|h)$")
321321
install(EXPORT ${PROJECT_NAME}Targets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
322+
install(FILES ${PROJECT_SOURCE_DIR}/package.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME})
322323

323324
include(CMakePackageConfigHelpers)
324325
write_basic_package_version_file(

0 commit comments

Comments
 (0)