Skip to content

Commit

Permalink
fix Mingw CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Jan 2, 2024
1 parent b65af86 commit 0f5b53b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ option(HELLOIMGUI_USE_SDL_DIRECTX12 "Build HelloImGui for SDL2+DirectX12" OFF)
# Options / Freetype
#------------------------------------------------------------------------------
set(freetype_default ON)
if(ANDROID)
if(ANDROID OR MINGW)
# Freetype is not available on Android. The mix SDL + Freetype cause issues (cannot find SDL.h)
# Freetype currently fails to build on MinGW
set(freetype_default OFF)
endif()
# Note: to reduce wasm size, you may want to disable freetype on emscripten.
Expand Down

0 comments on commit 0f5b53b

Please sign in to comment.