This commit is contained in:
tooomm 2026-08-31 12:28:39 +02:00
parent aa330f6a59
commit 49170d1af4

View file

@ -149,7 +149,6 @@ if(MSVC) # MS Visual C++ compiler
# /MP Enable parallel compilation
# /permissive- Enable strict standards compliance
# /utf-8 Set source file encoding and execution char set to UTF-8
# /wd4251 Suppress C4251 (DLL interface) warnings around DLL exports <-- removed to see how Qt6 handles it
# /W4 Enable warning level 4
# /Zc:__cplusplus Enable C++20 detection in headers
# /Zi Generate debugging information (Program Database, PDB)
@ -169,8 +168,6 @@ if(MSVC) # MS Visual C++ compiler
# /OPT:ICF Fold identical code
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /DEBUG /OPT:REF /OPT:ICF")
add_compile_definitions(_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING) # check if this is still needed with C++20
elseif(CMAKE_COMPILER_IS_GNUCXX) # Linux/GCC, BSD/GCC, Windows/MinGW
include(CheckCXXCompilerFlag)