From 6562e6a4d1c12166b53322de131ed65867eb026d Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 16 Apr 2010 23:58:12 +0000 Subject: PThreads "fix" for CMake / MSVC I heard that the actual solution would be to remove #include from BLI_threads.h But in the mean time is not fair to CMake/MSVC to be the only system not building ;) --- source/blender/gpu/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/blender/gpu/CMakeLists.txt b/source/blender/gpu/CMakeLists.txt index 26566857e03..126cddf852f 100644 --- a/source/blender/gpu/CMakeLists.txt +++ b/source/blender/gpu/CMakeLists.txt @@ -30,6 +30,10 @@ SET(INC . ../blenlib ../blenkernel ../makesdna ../makesrna ../include ../../../extern/glew/include ../../../intern/guardedalloc ../../../intern/smoke/extern ../imbuf) +IF(WIN32) + INCLUDE_DIRECTORIES(${PTHREADS_INC}) +ENDIF(WIN32) + ADD_DEFINITIONS(-DGLEW_STATIC) BLENDERLIB(bf_gpu "${SRC}" "${INC}") -- cgit v1.2.3