diff options
author | Marius Kintel <marius@kintel.net> | 2011-12-19 18:42:13 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-12-19 18:42:13 (GMT) |
commit | 32a888c8739c345f6fda4e313635777f76784f0c (patch) | |
tree | da306d0bef29f8a8a334efb1fdb0be1d9af1e7be /tests/CMakeLists.txt | |
parent | bce7212b612315ac4c90edeaaf8c7ed04ba7720c (diff) | |
parent | c2d94835b0fab1455c2e9ac290abfa80e5a9b09b (diff) |
Merge branch 'master' of https://github.com/donbright/openscad into donbright-master
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a1e587f..e98dd8e 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") |