Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2018-08-13 21:37:12 +0300
committerRay Molenkamp <github@lazydodo.com>2018-08-13 21:37:12 +0300
commit4a10ba2174eed4be5660221a08fd4a3c864c6bf8 (patch)
tree0d20d6e4af962a650da125c1067afd2fc71579f7 /build_files/build_environment/cmake/options.cmake
parentf749c3cbb933d5e3dea21ebaeb019b5571db2fbd (diff)
build_environment: openexr support debug build.
Diffstat (limited to 'build_files/build_environment/cmake/options.cmake')
-rw-r--r--build_files/build_environment/cmake/options.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/build_files/build_environment/cmake/options.cmake b/build_files/build_environment/cmake/options.cmake
index c4dcf212e68..b8efb1bda95 100644
--- a/build_files/build_environment/cmake/options.cmake
+++ b/build_files/build_environment/cmake/options.cmake
@@ -202,7 +202,11 @@ endif()
if(WIN32)
- set(ZLIB_LIBRARY zlibstatic${LIBEXT})
+ if(BUILD_MODE STREQUAL Debug)
+ set(ZLIB_LIBRARY zlibstaticd${LIBEXT})
+ else()
+ set(ZLIB_LIBRARY zlibstatic${LIBEXT})
+ endif()
else()
set(ZLIB_LIBRARY libz${LIBEXT})
endif()