mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-19 05:52:27 +01:00
Use correct SDL2 library in debug builds
This commit is contained in:
@@ -12,7 +12,11 @@ if (MSVC)
|
|||||||
find_package(jansson REQUIRED)
|
find_package(jansson REQUIRED)
|
||||||
|
|
||||||
find_path(SDL2_INCLUDE_DIRS SDL2/SDL.h)
|
find_path(SDL2_INCLUDE_DIRS SDL2/SDL.h)
|
||||||
|
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||||
|
find_library(SDL2_LDFLAGS sdl2d)
|
||||||
|
else ()
|
||||||
find_library(SDL2_LDFLAGS sdl2)
|
find_library(SDL2_LDFLAGS sdl2)
|
||||||
|
endif ()
|
||||||
|
|
||||||
find_library(SPEEX_LDFLAGS libspeexdsp)
|
find_library(SPEEX_LDFLAGS libspeexdsp)
|
||||||
else ()
|
else ()
|
||||||
|
|||||||
Reference in New Issue
Block a user