summaryrefslogtreecommitdiffhomepage
path: root/opentrack-logic/CMakeLists.txt
blob: 000276d58db24098e84dc3d3f06df53c49be4e1e (plain)
1
2
3
4
5
6
7
8
9
10
opentrack_boilerplate(opentrack-logic)
target_link_libraries(opentrack-logic opentrack-spline-widget)
if(NOT WIN32)
    target_link_libraries(opentrack-logic opentrack-qxt-mini)
else()
    target_link_libraries(opentrack-logic winmm)
endif()
if(CMAKE_COMPILER_IS_GNUCXX)
    set_source_files_properties(nan.cpp PROPERTIES COMPILE_FLAGS "-fno-fast-math -fno-finite-math-only -fno-fast-math -O2")
endif()