forked from bartvdbraak/blender
PThreads "fix" for CMake / MSVC
I heard that the actual solution would be to remove #include <pthread.h> from BLI_threads.h But in the mean time is not fair to CMake/MSVC to be the only system not building ;)
This commit is contained in:
parent
eea3d0225a
commit
6562e6a4d1
@ -30,6 +30,10 @@ SET(INC
|
|||||||
. ../blenlib ../blenkernel ../makesdna ../makesrna ../include
|
. ../blenlib ../blenkernel ../makesdna ../makesrna ../include
|
||||||
../../../extern/glew/include ../../../intern/guardedalloc ../../../intern/smoke/extern ../imbuf)
|
../../../extern/glew/include ../../../intern/guardedalloc ../../../intern/smoke/extern ../imbuf)
|
||||||
|
|
||||||
|
IF(WIN32)
|
||||||
|
INCLUDE_DIRECTORIES(${PTHREADS_INC})
|
||||||
|
ENDIF(WIN32)
|
||||||
|
|
||||||
ADD_DEFINITIONS(-DGLEW_STATIC)
|
ADD_DEFINITIONS(-DGLEW_STATIC)
|
||||||
|
|
||||||
BLENDERLIB(bf_gpu "${SRC}" "${INC}")
|
BLENDERLIB(bf_gpu "${SRC}" "${INC}")
|
||||||
|
Loading…
Reference in New Issue
Block a user