[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28655] trunk/blender/source/blender/imbuf /CMakeLists.txt: CMake + MSVC building fix (PTHREADS_INC needed in imbuf)

Dalai Felinto dfelinto at gmail.com
Fri May 7 23:35:10 CEST 2010


Revision: 28655
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28655
Author:   dfelinto
Date:     2010-05-07 23:35:10 +0200 (Fri, 07 May 2010)

Log Message:
-----------
CMake + MSVC building fix (PTHREADS_INC needed in imbuf)
again, I know that the header shouldnt' be included there. But since it's still there at least let's make it build.

Modified Paths:
--------------
    trunk/blender/source/blender/imbuf/CMakeLists.txt

Modified: trunk/blender/source/blender/imbuf/CMakeLists.txt
===================================================================
--- trunk/blender/source/blender/imbuf/CMakeLists.txt	2010-05-07 18:53:28 UTC (rev 28654)
+++ trunk/blender/source/blender/imbuf/CMakeLists.txt	2010-05-07 21:35:10 UTC (rev 28655)
@@ -37,6 +37,10 @@
 	${OPENJPEG_INC}
 )
 
+IF(WIN32)
+	SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
 IF(WITH_OPENEXR)
 	ADD_DEFINITIONS(-DWITH_OPENEXR)
 ENDIF(WITH_OPENEXR)





More information about the Bf-blender-cvs mailing list