2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-10-31 19:02:30 +00:00

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> 2023-11-20 Jay Berkenbilt <ejb@ql.org>
* Build AppImage with an older Linux distribution to support AWS * Build AppImage with an older Linux distribution to support AWS

View File

@ -590,10 +590,12 @@ if(INSTALL_CMAKE_PACKAGE)
install(EXPORT libqpdfTargets install(EXPORT libqpdfTargets
NAMESPACE qpdf:: NAMESPACE qpdf::
FILE libqpdfTargets.cmake FILE libqpdfTargets.cmake
COMPONENT ${COMPONENT_DEV}
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/qpdf) DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/qpdf)
install(FILES install(FILES
${CMAKE_CURRENT_BINARY_DIR}/qpdfConfigVersion.cmake ${CMAKE_CURRENT_BINARY_DIR}/qpdfConfigVersion.cmake
${CMAKE_CURRENT_BINARY_DIR}/qpdfConfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/qpdfConfig.cmake
COMPONENT ${COMPONENT_DEV}
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/qpdf) DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/qpdf)
endif() endif()