From 0e18e1f8b035dfa9ca388aba5c7e18e043db6860 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 14 Apr 2021 19:55:01 +0100 Subject: [PATCH] d/qwerty: Add SDL include dirs --- src/xrt/drivers/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/xrt/drivers/CMakeLists.txt b/src/xrt/drivers/CMakeLists.txt index 913e4b0b9..5c686bf03 100644 --- a/src/xrt/drivers/CMakeLists.txt +++ b/src/xrt/drivers/CMakeLists.txt @@ -53,7 +53,14 @@ if(XRT_BUILD_DRIVER_QWERTY) ) add_library(drv_qwerty STATIC ${QWERTY_SOURCE_FILES}) - target_link_libraries(drv_qwerty PRIVATE xrt-interfaces aux_util ${SDL2_LIBRARIES}) + target_link_libraries(drv_qwerty PRIVATE + xrt-interfaces + aux_util + ${SDL2_LIBRARIES} + ) + target_include_directories(drv_qwerty PRIVATE + ${SDL2_INCLUDE_DIRS} + ) list(APPEND ENABLED_DRIVERS qwerty) add_library(drv_qwerty_includes INTERFACE)