Skip to content

Commit 3222f30

Browse files
antonio-rojasdantti
authored andcommitted
Make Qt5/Qt6 versions fully coinstallable
Add version to the include path to make Qt5 and Qt6 versions coinstallable
1 parent 00380c3 commit 3222f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QXlsx/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ install(TARGETS QXlsx
193193
EXPORT ${EXPORT_NAME}Targets DESTINATION ${CMAKE_INSTALL_LIBDIR}
194194
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
195195
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT devel
196-
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/QXlsx COMPONENT devel
196+
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/QXlsxQt${QT_VERSION_MAJOR} COMPONENT devel
197197
)
198198

199199
install(EXPORT ${EXPORT_NAME}Targets

0 commit comments

Comments
 (0)