1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-16 04:42:53 +08:00

Make Qt5/Qt6 versions fully coinstallable

Add version to the include path to make Qt5 and Qt6 versions coinstallable
This commit is contained in:
Antonio Rojas 2023-03-23 19:31:34 +01:00 committed by Daniel Nicoletti
parent 00380c3ffa
commit 3222f30d2a

View File

@ -193,7 +193,7 @@ install(TARGETS QXlsx
EXPORT ${EXPORT_NAME}Targets DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT devel
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/QXlsx COMPONENT devel
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/QXlsxQt${QT_VERSION_MAJOR} COMPONENT devel
)
install(EXPORT ${EXPORT_NAME}Targets