summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat/CMakeLists.txt
blob: 2bbb496c32a47aa5644cb2e3a6d4a5edc0283a79 (plain)
1
2
3
4
5
6
7
8
opentrack_boilerplate(opentrack-compat NO-COMPAT BIN)
if(NOT WIN32 AND NOT APPLE)
    target_link_libraries(opentrack-compat rt)
endif()
if(CMAKE_COMPILER_IS_GNUCXX)
    set_source_files_properties(nan.cpp PROPERTIES
        COMPILE_FLAGS "-fno-fast-math -fno-finite-math-only -O0")
endif()