aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-12-09 12:25:30 +0100
committerJay Berkenbilt <ejb@ql.org>2023-12-09 12:28:13 +0100
commit414c83f767178467a5eca74d38b3e5562352162d (patch)
tree7d469579780ca42b7883083582bc513b3c15a639
parentda3eae39c8e5261196bbc1b460e5b556c6836dbf (diff)
downloadqpdf-414c83f767178467a5eca74d38b3e5562352162d.tar.zst
Install cmake files with dev component
-rw-r--r--ChangeLog4
-rw-r--r--libqpdf/CMakeLists.txt2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 34228a15..fbfcd5d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2023-12-09 Jay Berkenbilt <ejb@ql.org>
+
+ * Install fix: include cmake files with the dev component.
+
2023-11-20 Jay Berkenbilt <ejb@ql.org>
* 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()