From d7d8a4e28a55bc525ff54413b200ccee63365b4b Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Mon, 6 Feb 2023 02:14:36 +0000 Subject: [PATCH] Fix SDL2 directfb includes under Alpine Linux --- Source/Tools/FEXConfig/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Tools/FEXConfig/CMakeLists.txt b/Source/Tools/FEXConfig/CMakeLists.txt index 33f0ece7f..74345dd7b 100644 --- a/Source/Tools/FEXConfig/CMakeLists.txt +++ b/Source/Tools/FEXConfig/CMakeLists.txt @@ -12,6 +12,9 @@ add_executable(${NAME} ${SRCS}) target_include_directories(${NAME} PRIVATE ${CMAKE_SOURCE_DIR}/Source/) target_include_directories(${NAME} PRIVATE ${CMAKE_SOURCE_DIR}/External/imgui/examples/) +# Fix for SDL2 includes under Alpine Linux. +target_include_directories(${NAME} PRIVATE /usr/include/directfb/) + if (TARGET SDL2::SDL2) target_link_libraries(${NAME} PRIVATE SDL2::SDL2) else()