From 26398fb358c1bd43db55dfbfd4b0e5245cffbccb Mon Sep 17 00:00:00 2001 From: Ionut Cava Date: Sat, 27 Apr 2024 17:14:26 +0100 Subject: [PATCH] Fix Windows build --- CMakeLists.txt | 1 - Source/EngineIncludes_pch.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ec7e4cc15..35f34072f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,6 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") add_compile_options(/Zc:__cplusplus) add_compile_options(/Zm256) - add_compile_options(/arch:SSE4.2) add_compile_definitions(_CRT_SECURE_NO_WARNINGS) add_compile_definitions(_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING) #ToDo(Ionut): This should be disabled only for third party libs diff --git a/Source/EngineIncludes_pch.h b/Source/EngineIncludes_pch.h index abb2fdab0..355e6106f 100644 --- a/Source/EngineIncludes_pch.h +++ b/Source/EngineIncludes_pch.h @@ -50,7 +50,7 @@ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #pragma warning(disable: 4458) //warning C4458: declaration of 'shift' hides class member #pragma warning(disable: 4310) //warning C4310: cast truncates constant value #endif -//#include +#include #include #ifdef _MSC_VER #pragma warning(pop)