1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-17 21:12:34 +01:00

Use correct SDL2 library in debug builds

This commit is contained in:
Ted John
2018-04-12 23:31:33 +01:00
parent b8d8d24d21
commit c59f342f2f

View File

@@ -12,7 +12,11 @@ if (MSVC)
find_package(jansson REQUIRED)
find_path(SDL2_INCLUDE_DIRS SDL2/SDL.h)
find_library(SDL2_LDFLAGS sdl2)
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
find_library(SDL2_LDFLAGS sdl2d)
else ()
find_library(SDL2_LDFLAGS sdl2)
endif ()
find_library(SPEEX_LDFLAGS libspeexdsp)
else ()