Skip to content

Commit

Permalink
Fix SDL CMake warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
RipleyTom authored and Megamouse committed Jan 27, 2023
1 parent 813f7b5 commit 7c4734c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 3rdparty/libsdl-org/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
option(SDL2_DISABLE_SDL2MAIN "" ON)
option(SDL2_DISABLE_INSTALL "" ON)
option(SDL2_DISABLE_UNINSTALL "" ON)
set(SDL_SHARED OFF)
option(SDL_SHARED OFF)
set(SDL_SHARED_ENABLED_BY_DEFAULT OFF)
set(SDL_STATIC ON)
option(SDL_STATIC ON)
set(SDL_STATIC_ENABLED_BY_DEFAULT ON)
set(SDL_TEST OFF)
option(SDL_TEST OFF)
set(SDL_TEST_ENABLED_BY_DEFAULT OFF)
set(OPT_DEF_LIBC ON)
add_subdirectory(SDL EXCLUDE_FROM_ALL)

0 comments on commit 7c4734c

Please sign in to comment.