Fixed building on Windows with cmake, ninja, and clang

This commit is contained in:
Sam Lantinga
2021-08-06 12:28:03 -07:00
parent dd683073bb
commit a91ab883e9
6 changed files with 10 additions and 8 deletions

View File

@@ -208,7 +208,7 @@ if(APPLE OR ARCH_64)
set(OPT_DEF_SSEMATH ON)
endif()
endif()
if(UNIX OR MINGW OR MSYS OR USE_CLANG OR VITA)
if(UNIX OR MINGW OR MSYS OR (USE_CLANG AND NOT WINDOWS) OR VITA)
set(OPT_DEF_LIBC ON)
endif()