msys2: fix build (#3818)

* cmake: fix mingw-w64 build

* time.cpp: fix build with Clang on Windows

* tls.h: include malloc.h for alloca
This commit is contained in:
oltolm
2025-11-22 09:32:29 +01:00
committed by GitHub
parent 56109a1331
commit 4922d526fe
4 changed files with 35 additions and 11 deletions

View File

@@ -152,7 +152,7 @@ endif()
# sirit
add_subdirectory(sirit)
if (WIN32)
target_compile_options(sirit PUBLIC "-Wno-error=unused-command-line-argument")
target_compile_options(sirit PRIVATE "-Wno-error=unused-command-line-argument")
endif()
# half