Skip to content

Commit

Permalink
Fix linking error with libSDL2main by forcing the use of local script…
Browse files Browse the repository at this point in the history
… 'FindSDL2.cmake'
  • Loading branch information
madmann91 authored and AJenbo committed Oct 20, 2020
1 parent c009b72 commit 432fbc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -147,7 +147,7 @@ else()
if(SWITCH)
find_package(SDL2_STATIC CONFIG QUIET)
else()
find_package(SDL2 CONFIG QUIET)
find_package(SDL2 MODULE QUIET)
endif()
if (NOT SDL2_FOUND)
find_package(SDL2 REQUIRED)
Expand Down

0 comments on commit 432fbc8

Please sign in to comment.