add no-strict-aliasing to cmake of regression tests, fixing CGAL/GCC bugs

stl_dim
Don Bright 2011-12-17 17:32:17 -06:00
parent 644f28e01c
commit 3763f373b2
1 changed files with 1 additions and 0 deletions

View File

@ -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")