summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4de7b6b..56fc125 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -407,12 +407,12 @@ set(LIBVNCSERVER_TESTS
vncev
)
-if(Threads_FOUND)
+if(CMAKE_USE_PTHREADS_INIT)
set(LIBVNCSERVER_TESTS
${LIBVNCSERVER_TESTS}
blooptest
)
-endif(Threads_FOUND)
+endif(CMAKE_USE_PTHREADS_INIT)
if(WITH_TIGHTVNC_FILETRANSFER AND CMAKE_USE_PTHREADS_INIT)
set(LIBVNCSERVER_TESTS