Skip to content

Commit

Permalink
Adding debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
myst6re committed Feb 2, 2025
1 parent 1879ba2 commit b3ffaf0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deploy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ endif()

# Deploy zlib
if(WIN32)
get_filename_component(_ZLIB_DLL_PATH "${ZLIB_LIBRARY_RELEASE}" DIRECTORY)
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
get_filename_component(_ZLIB_DLL_PATH "${ZLIB_LIBRARY_DEBUG}" DIRECTORY)
else()
get_filename_component(_ZLIB_DLL_PATH "${ZLIB_LIBRARY_RELEASE}" DIRECTORY)
endif()
get_filename_component(_ZLIB_DLL_PATH "${_ZLIB_DLL_PATH}" DIRECTORY)
set(_ZLIB_DLL_PATH "${_ZLIB_DLL_PATH}/bin")
if(MINGW)
Expand Down

0 comments on commit b3ffaf0

Please sign in to comment.