blob: dd90bda611966c4dc16b6549ddfa8ca57c01e562 (
plain)
1
2
3
4
5
6
7
8
9
10
|
opentrack_boilerplate(opentrack-api NO-COMPAT)
target_link_libraries(opentrack-api opentrack-spline-widget opentrack-compat)
if(NOT WIN32)
target_link_libraries(opentrack-api opentrack-qxt-mini)
else()
target_link_libraries(opentrack-api 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()
|