mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 14:59:03 +08:00
14 lines
433 B
Diff
14 lines
433 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 40c410aeb..c36084fb9 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -24,6 +24,8 @@ project(QtBase
|
||
|
LANGUAGES CXX C ASM
|
||
|
)
|
||
|
|
||
|
+find_package(Threads REQUIRED)
|
||
|
+set_property(TARGET Threads::Threads PROPERTY _qt_no_promote_global TRUE)
|
||
|
# Make sure we only use latest private CMake API, aka no compatibility wrappers.
|
||
|
set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE)
|
||
|
|