From 3763f373b24902e494946611980b3759fba790ff Mon Sep 17 00:00:00 2001 From: Don Bright Date: Sat, 17 Dec 2011 17:32:17 -0600 Subject: add no-strict-aliasing to cmake of regression tests, fixing CGAL/GCC bugs diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 986076e..8f3f81f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -13,6 +13,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}") # Build debug build as default if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE RelWithDebInfo) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-strict-aliasing") endif() if(${CMAKE_BUILD_TYPE} STREQUAL "Debug") -- cgit v0.10.1