summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2011-12-17 23:32:17 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2011-12-17 23:32:17 (GMT)
commit3763f373b24902e494946611980b3759fba790ff (patch)
tree68bc05ed0bc03125e417ca7901015cb062372854
parent644f28e01cabe7e899301d65c97ecfaafa1ee27a (diff)
add no-strict-aliasing to cmake of regression tests, fixing CGAL/GCC bugs
-rw-r--r--tests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
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")
contact: Jan Huwald // Impressum