diff options
author | Tim Blechmann <tim@klingt.org> | 2021-06-16 11:27:55 +0800 |
---|---|---|
committer | Tim Blechmann <tim@klingt.org> | 2021-06-16 07:05:16 +0000 |
commit | 8ec23e44a2b85a83f3b17ee05191d47006c83727 (patch) | |
tree | 5e057cd555b567ed265676099e47cb104d6e3158 | |
parent | fa6490efbcc486edbb8c344bc83c1370826d9fc3 (diff) | |
download | qt-creator-8ec23e44a2b85a83f3b17ee05191d47006c83727.tar.gz |
cmake: fix `Qt6Core5Compat` detection
Change-Id: I6de4de1f20b4e611f632ee515cfdf5243f2d16ba
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r-- | cmake/FindQt5.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindQt5.cmake b/cmake/FindQt5.cmake index 2ace18f8eb..589fd4eed5 100644 --- a/cmake/FindQt5.cmake +++ b/cmake/FindQt5.cmake @@ -59,7 +59,7 @@ foreach(comp IN LISTS Qt5_FIND_COMPONENTS) endforeach() # 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) endif() |