diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-21 12:10:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-21 12:10:50 +0300 |
commit | cd2ab75b737f17c00bca6caa6c54af76d6dcfa6f (patch) | |
tree | 923b0862186a1a548f129259887d7641bd763fb9 /CMakeLists.txt | |
parent | f580d9c33b30e2338c63c9997ca47abca5559053 (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.txt | 3 |
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) |