Sam Lantinga 2020-12-08 09:16:34 -08:00
parent 146d9b8201
commit 2a9591a9ea
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ add_definitions(-DUSING_GENERATED_CONFIG_H)
# General includes # General includes
include_directories(${SDL2_BINARY_DIR}/include ${SDL2_SOURCE_DIR}/include) include_directories(${SDL2_BINARY_DIR}/include ${SDL2_SOURCE_DIR}/include)
if(USE_GCC OR USE_CLANG) if(USE_GCC OR USE_CLANG)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -idirafter ${SDL2_SOURCE_DIR}/src/video/khronos") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -idirafter \"${SDL2_SOURCE_DIR}/src/video/khronos\"")
else() else()
include_directories(${SDL2_SOURCE_DIR}/src/video/khronos) include_directories(${SDL2_SOURCE_DIR}/src/video/khronos)
endif() endif()