Skip to content

Commit

Permalink
use static sdl2/libsodium by default
Browse files Browse the repository at this point in the history
  • Loading branch information
pionere committed Sep 8, 2024
1 parent 2f8f6c8 commit 30d2290
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,12 @@ cmake_dependent_option(HAS_TOUCHPAD "Enable touchpad support" ON "NOT USE_SDL1"
option(SCREEN_READER_INTEGRATION "Build with screen reader support" OFF)

if(NOT NONET)
option(DEVILUTIONX_SYSTEM_LIBSODIUM "Use system-provided libsodium" ON)
option(DEVILUTIONX_SYSTEM_LIBSODIUM "Use system-provided libsodium" OFF)
cmake_conditional_option(DEVILUTIONX_STATIC_LIBSODIUM "Link static libsodium" NOT ${DEVILUTIONX_SYSTEM_LIBSODIUM})
endif()

if(NOT USE_SDL1)
option(DEVILUTIONX_SYSTEM_SDL2 "Use system-provided SDL2" ON)
option(DEVILUTIONX_SYSTEM_SDL2 "Use system-provided SDL2" OFF)
cmake_conditional_option(DEVILUTIONX_STATIC_SDL2 "Link static SDL2" NOT ${DEVILUTIONX_SYSTEM_SDL2})
endif()

Expand Down

0 comments on commit 30d2290

Please sign in to comment.