Revision: 77651
          http://sourceforge.net/p/brlcad/code/77651
Author:   brlcad
Date:     2020-10-27 06:38:29 +0000 (Tue, 27 Oct 2020)
Log Message:
-----------
looks like we have a copy-pasted chunk of code but are missing a line to 
indicate a preference for -pthread where it's working

Modified Paths:
--------------
    brlcad/trunk/CMakeLists.txt

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2020-10-25 17:17:47 UTC (rev 77650)
+++ brlcad/trunk/CMakeLists.txt 2020-10-27 06:38:29 UTC (rev 77651)
@@ -1871,6 +1871,7 @@
       set(THREADS_PREFER_PTHREAD_FLAG TRUE)
     endif (PROBE_PTHREAD_H_CLOCKID_T)
   endif (NOT PROBE_PTHREAD_H)
+  set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
 
   # -O3/-Ofast can enable -ffast-math which can provoke a stack
   # corruption in the shadow computations because of strict aliasing

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to