fix for building blender as a python module on windows.

This commit is contained in:
Campbell Barton 2012-06-15 20:59:00 +00:00
parent 570cc70772
commit 606d76f07d

@ -143,6 +143,7 @@ if(WITH_HEADLESS OR WITH_GHOST_SDL)
intern/GHOST_SystemPathsCarbon.h
)
endif()
elseif(UNIX)
list(APPEND SRC
intern/GHOST_SystemPathsX11.cpp
@ -152,13 +153,17 @@ if(WITH_HEADLESS OR WITH_GHOST_SDL)
if(NOT WITH_INSTALL_PORTABLE)
add_definitions(-DPREFIX="${CMAKE_INSTALL_PREFIX}")
endif()
elseif(WIN32)
elseif(WIN32)
list(APPEND SRC
intern/GHOST_SystemPathsWin32.cpp
intern/GHOST_SystemPathsWin32.h
)
list(APPEND INC
../utfconv
)
endif()
if(NOT WITH_HEADLESS)