Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2010-05-08 01:35:10 +0400
committerDalai Felinto <dfelinto@gmail.com>2010-05-08 01:35:10 +0400
commit672044cd497093cc7a2971f75359626010b3150e (patch)
tree33045fc79265aa3700df43855fa885ac4cb4e6ce /source
parent22978ebfdc8a4506431492ac39d0ffd5d975093f (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/blender/imbuf/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/imbuf/CMakeLists.txt b/source/blender/imbuf/CMakeLists.txt
index 9cb98c258de..5af39cea832 100644
--- a/source/blender/imbuf/CMakeLists.txt
+++ b/source/blender/imbuf/CMakeLists.txt
@@ -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)