Browse Source

Fix RPI build, could not have khronos in the header search path.

Yao Wei Tjong 姚伟忠 8 years ago
parent
commit
cc5eccec1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/ThirdParty/SDL/CMakeLists.txt

+ 1 - 1
Source/ThirdParty/SDL/CMakeLists.txt

@@ -210,7 +210,7 @@ endif()
 add_definitions(-DUSING_GENERATED_CONFIG_H)
 # General includes
 # Urho3D - use 'generated' path suffix for generated config header file, the suffic prevents overwriting the header file with the same name in the source tree in case of non out-of-source build tree is being used
-set (INCLUDE_DIRS ${SDL2_BINARY_DIR}/include/generated ${SDL2_SOURCE_DIR}/include ${SDL2_SOURCE_DIR}/src/video/khronos)
+set (INCLUDE_DIRS ${SDL2_BINARY_DIR}/include/generated ${SDL2_SOURCE_DIR}/include)
 
 # 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.