forked from qt-creator/qt-creator
cmake: fix Qt6Core5Compat
detection
Change-Id: I6de4de1f20b4e611f632ee515cfdf5243f2d16ba Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -59,7 +59,7 @@ foreach(comp IN LISTS Qt5_FIND_COMPONENTS)
|
|||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
# alias Qt6::Core5Compat to Qt6Core5Compat to make consistent with Qt5 path
|
# alias Qt6::Core5Compat to Qt6Core5Compat to make consistent with Qt5 path
|
||||||
if (TARGET Qt6::Core5Compat AND NOT TARGET Qt6CoreCompat)
|
if (TARGET Qt6::Core5Compat AND NOT TARGET Qt6Core5Compat)
|
||||||
add_library(Qt6Core5Compat ALIAS Qt6::Core5Compat)
|
add_library(Qt6Core5Compat ALIAS Qt6::Core5Compat)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user