diff options
Diffstat (limited to 'source/blender/datatoc/CMakeLists.txt')
-rw-r--r-- | source/blender/datatoc/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/datatoc/CMakeLists.txt b/source/blender/datatoc/CMakeLists.txt index a1776c312f4..53fe8c32e9c 100644 --- a/source/blender/datatoc/CMakeLists.txt +++ b/source/blender/datatoc/CMakeLists.txt @@ -38,6 +38,21 @@ if(NOT WITH_HEADLESS) datatoc_icon.c ) + if(WIN32) + include_directories( + ../blenlib + ../../../intern/utfconv + ) + + # for winstuff_dir.c + add_definitions(-DUSE_STANDALONE) + + list(APPEND SRC + ../blenlib/intern/winstuff_dir.c + ../../../intern/utfconv/utfconv.c + ) + endif() + include_directories(${PNG_INCLUDE_DIR}) link_directories(${PNG_LIBPATH} ${ZLIB_LIBPATH}) |