mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 05:35:36 +00:00
Fixed the include path for khronos with Visual Studio
This commit is contained in:
parent
be1caece4a
commit
2cdb967435
|
@ -233,7 +233,11 @@ endif()
|
||||||
add_definitions(-DUSING_GENERATED_CONFIG_H)
|
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)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -idirafter ${SDL2_SOURCE_DIR}/src/video/khronos")
|
if(USE_GCC OR USE_CLANG)
|
||||||
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -idirafter ${SDL2_SOURCE_DIR}/src/video/khronos")
|
||||||
|
else()
|
||||||
|
include_directories(${SDL2_SOURCE_DIR}/src/video/khronos)
|
||||||
|
endif()
|
||||||
|
|
||||||
# All these ENABLED_BY_DEFAULT vars will default to ON if not specified, so
|
# All these ENABLED_BY_DEFAULT vars will default to ON if not specified, so
|
||||||
# you only need to have a platform override them if they are disabling.
|
# you only need to have a platform override them if they are disabling.
|
||||||
|
|
Loading…
Reference in a new issue