From 414c83f767178467a5eca74d38b3e5562352162d Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 9 Dec 2023 06:25:30 -0500 Subject: [PATCH] Install cmake files with dev component --- ChangeLog | 4 ++++ libqpdf/CMakeLists.txt | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 34228a15..fbfcd5d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2023-12-09 Jay Berkenbilt + + * Install fix: include cmake files with the dev component. + 2023-11-20 Jay Berkenbilt * Build AppImage with an older Linux distribution to support AWS diff --git a/libqpdf/CMakeLists.txt b/libqpdf/CMakeLists.txt index c6a122c6..eb30b622 100644 --- a/libqpdf/CMakeLists.txt +++ b/libqpdf/CMakeLists.txt @@ -590,10 +590,12 @@ if(INSTALL_CMAKE_PACKAGE) install(EXPORT libqpdfTargets NAMESPACE qpdf:: FILE libqpdfTargets.cmake + COMPONENT ${COMPONENT_DEV} DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/qpdf) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qpdfConfigVersion.cmake ${CMAKE_CURRENT_BINARY_DIR}/qpdfConfig.cmake + COMPONENT ${COMPONENT_DEV} DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/qpdf) endif()