This commit is contained in:
lizzie
2026-02-23 04:31:43 +00:00
parent e2a6893dea
commit be83ecaa05
5 changed files with 22 additions and 5 deletions
+6
View File
@@ -55,6 +55,12 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
set(CXX_APPLE ON)
endif()
# This fixes some quirks with xcrun or weird iOS toolchain cmake files
if (IOS)
unser(CXX_CLANG)
set(CXX_APPLE ON)
endif()
# https://gitlab.kitware.com/cmake/cmake/-/merge_requests/11112
# This works totally fine on MinGW64, but not CLANG{,ARM}64
if(MINGW AND CXX_CLANG)