mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-06-18 18:56:36 +02:00
fix cmake sdl finding, find_package for each cmake scope
This commit is contained in:
1
external/CMakeLists.txt
vendored
1
external/CMakeLists.txt
vendored
@ -26,6 +26,7 @@ add_subdirectory("physfs")
|
||||
|
||||
if(NOT MM_HEADLESS)
|
||||
if(NOT EMSCRIPTEN)
|
||||
# TODO: move into imgui and soload, since they are the one requireing this
|
||||
if(VCPKG_TARGET_TRIPLET)
|
||||
find_package(SDL2 CONFIG REQUIRED)
|
||||
else() # HACK: fix sdl find module
|
||||
|
Reference in New Issue
Block a user