Skip to content

Commit

Permalink
Make Qt5/Qt6 versions fully coinstallable
Browse files Browse the repository at this point in the history
Add version to the include path to make Qt5 and Qt6 versions coinstallable
  • Loading branch information
antonio-rojas authored and dantti committed Mar 24, 2023
1 parent 00380c3 commit 3222f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QXlsx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3222f30

Please sign in to comment.