summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--opentrack/CMakeLists.txt2
-rw-r--r--spline-widget/CMakeLists.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/opentrack/CMakeLists.txt b/opentrack/CMakeLists.txt
index 590eaca5..c3676979 100644
--- a/opentrack/CMakeLists.txt
+++ b/opentrack/CMakeLists.txt
@@ -4,3 +4,5 @@ if(NOT WIN32)
else()
target_link_libraries(opentrack-api winmm)
endif()
+link_with_dinput8(opentrack-api)
+target_link_libraries(opentrack-api opentrack-spline-widget)
diff --git a/spline-widget/CMakeLists.txt b/spline-widget/CMakeLists.txt
index 03706d91..93958f50 100644
--- a/spline-widget/CMakeLists.txt
+++ b/spline-widget/CMakeLists.txt
@@ -1 +1 @@
-opentrack_boilerplate(opentrack-spline-widget NO-LINKER-SCRIPT)
+opentrack_boilerplate(opentrack-spline-widget NO-LINKER-SCRIPT NO-COMPAT)