diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fa8c5c25..1891a00a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -288,6 +288,6 @@ if (WITH_STATIC_LIB) ) endif (WITH_STATIC_LIB) -if (CMAKE_THREAD_LIBS_INIT) +if (Threads_FOUND) add_subdirectory(threads) -endif (CMAKE_THREAD_LIBS_INIT) +endif (Threads_FOUND) |