From 7503c11006e85d08094ec85aab43f71ad9c3c905 Mon Sep 17 00:00:00 2001 From: Anton Dukhovnikov Date: Mon, 2 Sep 2024 09:28:39 +1200 Subject: [PATCH] fix windows build Signed-off-by: Anton Dukhovnikov --- CMakeLists.txt | 1 - src/rawtoaces_util2/rawtoaces_util.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c408dfa..0d6f761 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,6 @@ set(RAWTOACESLIB "rawtoaces_util") set( CMAKE_MACOSX_RPATH 1 ) if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") -# set(warnings "/W4 /WX /EHsc") add_compile_options ( /W0 ) add_compile_definitions( NOMINMAX ) add_compile_options ( $<$:/utf-8> ) diff --git a/src/rawtoaces_util2/rawtoaces_util.cpp b/src/rawtoaces_util2/rawtoaces_util.cpp index d92ec61..742232a 100644 --- a/src/rawtoaces_util2/rawtoaces_util.cpp +++ b/src/rawtoaces_util2/rawtoaces_util.cpp @@ -11,7 +11,6 @@ #include #include -#define _HAS_CXX17 1 #include namespace rta