mirror of https://github.com/vitalif/openscad
add no-strict-aliasing to cmake of regression tests, fixing CGAL/GCC bugs
parent
644f28e01c
commit
3763f373b2
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue