qt6: fix mingw-w64 build

This commit is contained in:
oltolm 2023-07-28 11:25:18 +02:00 committed by Megamouse
parent d25d5327e5
commit a01a7a44cd
4 changed files with 3 additions and 39 deletions

View file

@ -115,8 +115,6 @@ if(APPLE AND CMAKE_OSX_ARCHITECTURES STREQUAL "arm64")
link_directories(/opt/homebrew/lib)
endif()
set(LLVM_ENABLE_WARNINGS OFF CACHE BOOL "Enable compiler warnings.")
if(MSVC)
add_compile_options(/wd4530 /utf-8) # C++ exception handler used, but unwind semantics are not enabled
endif()