summaryrefslogtreecommitdiff
path: root/src/ctrl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctrl')
-rw-r--r--src/ctrl/CMakeLists.txt2
-rw-r--r--src/ctrl/src/input.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ctrl/CMakeLists.txt b/src/ctrl/CMakeLists.txt
index a8525b0..1fcbfb6 100644
--- a/src/ctrl/CMakeLists.txt
+++ b/src/ctrl/CMakeLists.txt
@@ -7,5 +7,5 @@ add_library(daw_ctrl
)
target_compile_options(daw_ctrl PUBLIC ${BUILD_OPTS})
-target_include_directories(daw_ctrl PRIVATE ${DAW_INCLUDE_DIRS})
+target_include_directories(daw_ctrl PRIVATE ${DAW_INCLUDE_DIRS} ${GLFW_INCLUDE_DIR})
target_link_libraries(daw_ctrl PRIVATE cglm glfw)
diff --git a/src/ctrl/src/input.c b/src/ctrl/src/input.c
index 5a08543..844fd2c 100644
--- a/src/ctrl/src/input.c
+++ b/src/ctrl/src/input.c
@@ -1,6 +1,9 @@
#include <errno.h>
#include <string.h>
+#undef GLFW_INCLUDE_NONE
+#include <GLFW/glfw3.h>
+
#include <engine/core/dltools.h>
#include <engine/core/logging.h>
#include <engine/core/platform.h>