[Bf-blender-cvs] [a4c3ca8] master: CMake: use pthreads on all os's

Campbell Barton noreply at git.blender.org
Wed Dec 31 21:32:46 CET 2014


Commit: a4c3ca86715c972fa641f374d9cc01dea35a7fe1
Author: Campbell Barton
Date:   Sat Nov 15 16:51:21 2014 +0100
Branches: master
https://developer.blender.org/rBa4c3ca86715c972fa641f374d9cc01dea35a7fe1

CMake: use pthreads on all os's

===================================================================

M	intern/cycles/app/CMakeLists.txt

===================================================================

diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt
index 3d4a72d..3af72ac 100644
--- a/intern/cycles/app/CMakeLists.txt
+++ b/intern/cycles/app/CMakeLists.txt
@@ -38,9 +38,7 @@ endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-if(WIN32)
-	list(APPEND LIBRARIES ${PTHREADS_LIBRARIES})
-endif()
+list(APPEND LIBRARIES ${PTHREADS_LIBRARIES})
 
 link_directories(${OPENIMAGEIO_LIBPATH}
                  ${BOOST_LIBPATH}




More information about the Bf-blender-cvs mailing list