Skip to content
Snippets Groups Projects
Commit 72368b71 authored by Tobias Schmidt's avatar Tobias Schmidt
Browse files

set CXX flag -fno-strict-aliasing to fix failing geom unittest (BZDNG-243)

parent 40f49e3c
No related branches found
No related tags found
No related merge requests found
......@@ -234,6 +234,11 @@ if (ENABLE_SPNAV)
find_package(SpNav REQUIRED)
endif()
if (CMAKE_COMPILER_IS_GNUCXX)
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-strict-aliasing" CACHE STRING "" FORCE)
endif()
# basic environment
include_directories(${Boost_INCLUDE_DIRS}
${FFTW_INCLUDE_PATH}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment