Changeset: c6e5e2b82f73 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c6e5e2b82f73
Modified Files:
        CMakeLists.txt
Branch: cmake-fun
Log Message:

Some systems don't require to link to a thread library.


diffs (17 lines):

diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -443,13 +443,6 @@ endif()
 set(THREADS_PREFER_PTHREAD_FLAG ON) # We do prefer pthreads
 find_package(Threads)
 set(THREAD_LIBRARIES "${CMAKE_THREAD_LIBS_INIT}")
-if("${THREAD_LIBRARIES}" STREQUAL "")
-       if(${ENABLE_GDK} STREQUAL "YES")
-               message(FATAL_ERROR "GDK requires a thread library")
-       elseif(${ENABLE_GDK} STREQUAL "AUTO")
-               set(ENABLE_GDK "NO")
-       endif()
-endif()
 
 # Readline libraries
 set(READLINE_LIBRARIES "")
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to