Skip to content

Commit

Permalink
Use the proper debug postfix source
Browse files Browse the repository at this point in the history
  • Loading branch information
Wohlstand committed Jan 26, 2022
1 parent 983367a commit 0bf9f0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/DownloadAudioCodecs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ExternalProject_Add(
GIT_REPOSITORY https://github.com/WohlSoft/AudioCodecs.git
CMAKE_ARGS
"-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
"-DCMAKE_DEBUG_POSTFIX=${CMAKE_DEBUG_POSTFIX}"
"-DCMAKE_DEBUG_POSTFIX=${MIX_DEBUG_SUFFIX}"
"-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}"
"-DCMAKE_INSTALL_PREFIX=${AUDIO_CODECS_INSTALL_DIR}"
"-DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}"
Expand Down Expand Up @@ -113,9 +113,9 @@ ExternalProject_Add(

if(WIN32) # For VB6-targeted build only
if(AUDIO_CODECS_BUILD_LOCAL_SDL2_SHARED OR NOT MINGW)
set(AUDIOCODECS_SDL2_LIB_NAME SDL2-static${CMAKE_DEBUG_POSTFIX})
set(AUDIOCODECS_SDL2_LIB_NAME SDL2-static${MIX_DEBUG_SUFFIX})
else()
set(AUDIOCODECS_SDL2_LIB_NAME SDL2${CMAKE_DEBUG_POSTFIX})
set(AUDIOCODECS_SDL2_LIB_NAME SDL2${MIX_DEBUG_SUFFIX})
endif()
endif()

Expand Down

0 comments on commit 0bf9f0c

Please sign in to comment.