diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-01 11:28:44 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-01 11:28:44 +0100 |
commit | b4cd90ce91322830a6b08d6f18440cd92987f166 (patch) | |
tree | 87f3fbc9caa307d4fc88d780dcbdd597c9ad4c9d /CMakeLists.txt | |
parent | 46807a9feea303144884f2865ac37f55c54fdb5a (diff) |
libovr doesn't require strict aliasing anymore
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 1 insertions, 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() |