summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt7
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()