CMake + MSVC building fix (PTHREADS_INC needed in imbuf)
authorDalai Felinto <dfelinto@gmail.com>
Fri, 7 May 2010 21:35:10 +0000 (21:35 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Fri, 7 May 2010 21:35:10 +0000 (21:35 +0000)
again, I know that the header shouldnt' be included there. But since it's still there at least let's make it build.

source/blender/imbuf/CMakeLists.txt

index 9cb98c258de04c10cf614c712ae58cfaf8dd16f5..5af39cea8326991556cb7ea077947ad157e1b871 100644 (file)
@@ -37,6 +37,10 @@ SET(INC
        ${OPENJPEG_INC}
 )
 
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
 IF(WITH_OPENEXR)
        ADD_DEFINITIONS(-DWITH_OPENEXR)
 ENDIF(WITH_OPENEXR)