From fbf4309eb8b9ed7537d5b612cd4f1165e0b719c6 Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Sat, 29 Aug 2020 17:09:35 -0400 Subject: [PATCH] Fix unit-tests, this is important! https://trac.osgeo.org/mapserver/ticket/1642 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af6508aeee..28c2792700 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ project(jak) set(CMAKE_CXX_STANDARD 14) # optimization level can be set here. Note that game/ overwrites this for building game C++ code. -set(CMAKE_CXX_FLAGS "-O3 -ggdb") +set(CMAKE_CXX_FLAGS "-O3 -ggdb /EHsc") # Set default compile flags for GCC if(CMAKE_COMPILER_IS_GNUCXX)