diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-08-13 21:37:12 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2018-08-13 21:37:12 +0300 |
commit | 4a10ba2174eed4be5660221a08fd4a3c864c6bf8 (patch) | |
tree | 0d20d6e4af962a650da125c1067afd2fc71579f7 /build_files/build_environment/cmake/options.cmake | |
parent | f749c3cbb933d5e3dea21ebaeb019b5571db2fbd (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.cmake | 6 |
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() |