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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-11-21 12:10:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-21 12:10:50 +0300
commitcd2ab75b737f17c00bca6caa6c54af76d6dcfa6f (patch)
tree923b0862186a1a548f129259887d7641bd763fb9 /CMakeLists.txt
parentf580d9c33b30e2338c63c9997ca47abca5559053 (diff)
- include pthreads for win32 globally (as with opengl).
- MSVC CFLAGS were being set by only checking WIN32, (breaking non-msvc win32 builds)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0b34a723caf..0dc0a0b6e57 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -667,6 +667,9 @@ IF(WIN32)
ENDIF(MSVC)
+ # used in many places so include globally, like OpenGL
+ INCLUDE_DIRECTORIES(${PTHREADS_INC})
+
ENDIF(WIN32)