summaryrefslogtreecommitdiffhomepage
path: root/compat/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'compat/CMakeLists.txt')
-rw-r--r--compat/CMakeLists.txt9
1 files changed, 2 insertions, 7 deletions
diff --git a/compat/CMakeLists.txt b/compat/CMakeLists.txt
index b58b54e9..dc81436d 100644
--- a/compat/CMakeLists.txt
+++ b/compat/CMakeLists.txt
@@ -1,14 +1,9 @@
otr_module(compat NO-COMPAT BIN)
if(NOT WIN32 AND NOT APPLE)
- target_link_libraries(opentrack-compat rt)
+ target_link_libraries(${self} rt)
endif()
if(WIN32)
- target_link_libraries(opentrack-compat winmm strmiids)
-endif()
-
-if(CMAKE_COMPILER_IS_GNUCXX)
- set_property(SOURCE nan.cpp APPEND_STRING PROPERTY
- COMPILE_FLAGS "-fno-lto -fno-fast-math -fno-finite-math-only -O0 ")
+ target_link_libraries(${self} strmiids)
endif()