aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadia Holmquist Pedersen <nadia@nhp.sh>2021-05-02 16:39:02 +0200
committerNadia Holmquist Pedersen <nadia@nhp.sh>2021-05-02 16:42:04 +0200
commit464897ea87f5242f4769bef36120c88ec4dbcd6c (patch)
tree2f4d02b8b0070982b599463dd91bb9bf9810d3d2
parentd6036f92254b53b67c0b32c9b02f9d6575f1953f (diff)
Explicitly include ${SDL2_PREFIX}/include
this only accidentally worked before
-rw-r--r--src/frontend/qt_sdl/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/qt_sdl/CMakeLists.txt b/src/frontend/qt_sdl/CMakeLists.txt
index 66c2f4d..05dce4a 100644
--- a/src/frontend/qt_sdl/CMakeLists.txt
+++ b/src/frontend/qt_sdl/CMakeLists.txt
@@ -82,7 +82,7 @@ endif()
target_link_libraries(melonDS ${CMAKE_THREAD_LIBS_INIT})
-target_include_directories(melonDS PRIVATE ${SDL2_INCLUDE_DIRS} ${SLIRP_INCLUDE_DIRS} ${LIBARCHIVE_INCLUDE_DIRS})
+target_include_directories(melonDS PRIVATE ${SDL2_INCLUDE_DIRS} ${SDL2_PREFIX}/include ${SLIRP_INCLUDE_DIRS} ${LIBARCHIVE_INCLUDE_DIRS})
target_link_directories(melonDS PRIVATE ${SDL2_LIBRARY_DIRS} ${SLIRP_LIBRARY_DIRS})
target_link_directories(melonDS PRIVATE ${LIBARCHIVE_LIBRARY_DIRS})