From 10a1b33bd56cd3400035e506891ea95f2e7978d7 Mon Sep 17 00:00:00 2001 From: capitalistspz Date: Mon, 7 Aug 2023 21:00:40 +0100 Subject: [PATCH] whoops --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c73ebae0..ced142c19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,6 +89,7 @@ if (WIN32) option(ENABLE_XINPUT "Enables the usage of XInput" ON) option(ENABLE_DIRECTINPUT "Enables the usage of DirectInput" ON) option(ENABLE_HIDAPI "Build with HIDAPI" OFF) + add_compile_definitions(HAS_DIRECTINPUT) set(ENABLE_WIIMOTE ON) elseif (UNIX) option(ENABLE_HIDAPI "Build with HIDAPI" ON)