diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/tools/clangrefactoringbackend/source/CMakeLists.txt | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cf28417683..b3a256ae9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,8 @@ find_package(Qt5 REQUIRED ) +find_package(Threads) + # Get information on directories from qmake # as this is not yet exported by cmake. function(qt5_query_qmake) diff --git a/src/tools/clangrefactoringbackend/source/CMakeLists.txt b/src/tools/clangrefactoringbackend/source/CMakeLists.txt index cd15e8ad33..f4b66e3399 100644 --- a/src/tools/clangrefactoringbackend/source/CMakeLists.txt +++ b/src/tools/clangrefactoringbackend/source/CMakeLists.txt @@ -1,4 +1,5 @@ add_qtc_library(clangrefactoringbackend_lib STATIC + PUBLIC_DEPENDS Threads::Threads DEPENDS libclang clangTooling clangIndex clangQuery ClangSupport DEFINES CLANGSUPPORT_BUILD_LIB PUBLIC_INCLUDES |