Install cmake files with dev component

This commit is contained in:
Jay Berkenbilt 2023-12-09 06:25:30 -05:00
parent da3eae39c8
commit 414c83f767
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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()