From 95f103edab228000d78f7377e3c2ff20b5144474 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao Date: Sat, 7 Oct 2023 14:49:20 +0800 Subject: [PATCH] clang-cl: remove unneeded workaround This piece of code may be some old workaround, but anyway Qt doesn't need it anymore. Removing them doesn't cause any compilation errors or even warnings. We should not keep any workaround if they are not needed anymore. Change-Id: Ieae8c2b005fa5e556c838d78d839d498101f28ff Reviewed-by: Thiago Macieira --- qmake/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/qmake/CMakeLists.txt b/qmake/CMakeLists.txt index 41bf2c77d9..836b49c223 100644 --- a/qmake/CMakeLists.txt +++ b/qmake/CMakeLists.txt @@ -125,12 +125,6 @@ qt_internal_extend_target(${target_name} CONDITION WIN32 _SCL_SECURE_NO_WARNINGS ) -qt_internal_extend_target(${target_name} CONDITION CLANG AND WIN32 - COMPILE_OPTIONS - "-fms-compatibility-version=19.00.23506" - "-Wno-microsoft-enum-value" -) - set_target_properties(${target_name} PROPERTIES AUTOMOC OFF AUTORCC OFF