From b4cd90ce91322830a6b08d6f18440cd92987f166 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 1 Jan 2014 11:28:44 +0100 Subject: libovr doesn't require strict aliasing anymore --- CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 100cad67..2092aee3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -446,12 +446,7 @@ if(SDK_RIFT) set(link-flags "/NODEFAULTLIB:LIBCMT") endif() endif() - if(NOT MSVC) - set(c-flags -fno-strict-aliasing) - else() - set(c-flags) - endif() - opentrack_library(opentrack-tracker-rift LINK "${link-flags}" COMPILE "${c-flags}") + opentrack_library(opentrack-tracker-rift LINK "${link-flags}") if(MSVC) target_link_libraries(opentrack-tracker-rift "${SDK_RIFT}/Lib/Win32/libovr.lib" winmm.lib setupapi.lib) else() -- cgit v1.2.3