diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-16 00:59:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-16 00:59:00 +0400 |
commit | 606d76f07d99637c79d31efbdf28f4e32e8a91a4 (patch) | |
tree | 141cfc38028fed8028dd01561df0ca3c1904f24b /intern/ghost/CMakeLists.txt | |
parent | 570cc70772d78703053956ce57b20c6c4ed74c95 (diff) |
fix for building blender as a python module on windows.
Diffstat (limited to 'intern/ghost/CMakeLists.txt')
-rw-r--r-- | intern/ghost/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt index 277b14e2c66..e52ac0af2ed 100644 --- a/intern/ghost/CMakeLists.txt +++ b/intern/ghost/CMakeLists.txt @@ -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) |