mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-06-18 18:56:36 +02:00
add mingw-w64 support
This commit is contained in:
6
external/CMakeLists.txt
vendored
6
external/CMakeLists.txt
vendored
@ -26,7 +26,11 @@ add_subdirectory("physfs")
|
||||
|
||||
if(NOT MM_HEADLESS)
|
||||
if(NOT EMSCRIPTEN)
|
||||
find_package(SDL2 REQUIRED)
|
||||
if(VCPKG_TARGET_TRIPLET)
|
||||
find_package(SDL2 CONFIG REQUIRED)
|
||||
else() # HACK: fix sdl find module
|
||||
find_package(SDL2 REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT MM_OPENGL_3_GLES)
|
||||
|
Reference in New Issue
Block a user