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)