mirror of https://github.com/FreeRDP/FreeRDP
[cmake] link SDL only static if explicitly requested
This commit is contained in:
parent
11d84f067d
commit
19d3c27e3d
|
@ -18,3 +18,4 @@ set (WITH_SWSCALE OFF CACHE BOOL "ci default")
|
|||
set (WITH_WEBVIEW OFF CACHE BOOL "ci default")
|
||||
set (ZLIB_USE_STATIC_LIBS ON CACHE BOOL "ci default")
|
||||
set (WITH_FREERDP_DEPRECATED_COMMANDLINE ON CACHE BOOL "Enable deprecated command line options")
|
||||
set (WITH_SDL_LINK_SHARED OFF CACHE BOOL "ci default")
|
||||
|
|
|
@ -49,7 +49,7 @@ include(ConfigureRPATH)
|
|||
option(WITH_DEBUG_SDL_EVENTS "[dangerous, not for release builds!] Debug SDL events" OFF)
|
||||
option(WITH_DEBUG_SDL_KBD_EVENTS "[dangerous, not for release builds!] Debug SDL keyboard events" OFF)
|
||||
option(WITH_WIN_CONSOLE "Build ${PROJECT_NAME} with console support" ON)
|
||||
option(WITH_SDL_LINK_SHARED "link SDL dynamic or static" BUILD_SHARED_LIBS)
|
||||
option(WITH_SDL_LINK_SHARED "link SDL dynamic or static" ON)
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "project default" FORCE)
|
||||
|
|
|
@ -19,3 +19,4 @@ set (WITH_WEBVIEW OFF CACHE BOOL "nightly default")
|
|||
set (ZLIB_USE_STATIC_LIBS ON CACHE BOOL "ci default")
|
||||
set (WITH_SDL_IMAGE_DIALOGS ON CACHE BOOL "nightly default")
|
||||
set (SDL_USE_COMPILED_RESOURCES ON CACHE BOOL "nightly default")
|
||||
set (WITH_SDL_LINK_SHARED OFF CACHE BOOL "nightly default")
|
||||
|
|
Loading…
Reference in New Issue