CMake: the blooptest example needs pthreads

pull/3/head
Christian Beier 8 years ago
parent 6935d69e85
commit 8e90e892c5

@ -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

Loading…
Cancel
Save