diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-01 21:24:24 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-01 21:24:24 +0400 |
commit | 606e609f5d14d7bb5b2b1e75513bd6f9ed751480 (patch) | |
tree | 167a0712a52dceb3ce51e2c916f0d1633952c21f /source/blender/makesrna/intern/CMakeLists.txt | |
parent | 022a343223be895c4dfab63af28ed0a2b822df71 (diff) |
Fix cmake compilation on Windows, adding pthread includes,
patch by Guillaume, thanks!
Diffstat (limited to 'source/blender/makesrna/intern/CMakeLists.txt')
-rw-r--r-- | source/blender/makesrna/intern/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt index 50cf0b00b84..c9c02fbecde 100644 --- a/source/blender/makesrna/intern/CMakeLists.txt +++ b/source/blender/makesrna/intern/CMakeLists.txt @@ -42,6 +42,10 @@ SET(SRC INCLUDE_DIRECTORIES(../../../../intern/guardedalloc .. ../../makesdna ../../blenkernel ../../blenlib ../../ikplugin ../../windowmanager ../../editors/include ../../imbuf ../../render/extern/include .) FILE(GLOB INC_FILES ../*.h ../../makesdna/*.h) +IF(WIN32) + SET(INC ${INC} ${PTHREADS_INC}) +ENDIF(WIN32) + IF(WITH_GAMEENGINE) ADD_DEFINITIONS(-DGAMEBLENDER) ENDIF(WITH_GAMEENGINE) |