mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-06-19 19:26:36 +02:00
add mingw-w64 support
This commit is contained in:
4
external/imgui/CMakeLists.txt
vendored
4
external/imgui/CMakeLists.txt
vendored
@ -58,7 +58,9 @@ if(EMSCRIPTEN)
|
||||
set_target_properties(imgui PROPERTIES LINK_FLAGS "-s USE_SDL=2 -s USE_WEBGL2=1 -s FULL_ES2=1 -s FULL_ES3=1")
|
||||
elseif(ANDROID)
|
||||
target_link_libraries(imgui SDL)
|
||||
else() # if not android or emscripten
|
||||
elseif(VCPKG_TARGET_TRIPLET)
|
||||
target_link_libraries(imgui SDL2::SDL2 SDL2::SDL2main SDL2::SDL2-static)
|
||||
else()
|
||||
target_include_directories(imgui PUBLIC "${SDL2_INCLUDE_DIR}")
|
||||
target_link_libraries(imgui ${SDL2_LIBRARY})
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user