Skip to content

Commit

Permalink
SDL3: Always build static from source
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Feb 9, 2025
1 parent f3b39de commit b993f1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ else()
"SDL_RENDER OFF"
"SDL_SENSOR OFF"
"SDL_SHARED OFF"
"SDL_SHARED OFF"
"SDL_STATIC ON"
"SDL_TIMERS OFF"
)
else()
Expand All @@ -274,6 +276,8 @@ else()
URL_HASH SHA1=b16ad311975378dcc87b11fc02c84eaa1f028b38
OPTIONS
"SDL_SENSOR OFF" # doesn't work with UWP
"SDL_SHARED OFF"
"SDL_STATIC ON"
)
endif()
target_link_libraries(jngl PRIVATE SDL3-static)
Expand Down

0 comments on commit b993f1e

Please sign in to comment.