Skip to content

Commit

Permalink
Move khronos headers to source_third_party
Browse files Browse the repository at this point in the history
  • Loading branch information
solidpixel committed Jan 12, 2025
1 parent 05f9209 commit db7500b
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[submodule "khronos/vulkan"]
path = khronos/vulkan
path = source_third_party/khronos/vulkan
url = https://github.com/KhronosGroup/Vulkan-Headers
[submodule "khronos/opengles"]
path = khronos/opengles
path = source_third_party/khronos/opengles
url = https://github.com/KhronosGroup/OpenGL-Registry
[submodule "khronos/egl"]
path = khronos/egl
path = source_third_party/khronos/egl
url = https://github.com/KhronosGroup/EGL-Registry
[submodule "source_third_party/gtest"]
path = source_third_party/gtest
Expand Down
2 changes: 1 addition & 1 deletion generator/vk_codegen/source_CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ target_include_directories(

target_include_directories(
${VK_LAYER} SYSTEM PRIVATE
../../khronos/vulkan/include)
${PROJECT_SOURCE_DIR}/../source_third_party/khronos/vulkan/include)

lgl_set_build_options(${VK_LAYER})

Expand Down
2 changes: 1 addition & 1 deletion layer_example/source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ target_include_directories(

target_include_directories(
${VK_LAYER} SYSTEM PRIVATE
../../khronos/vulkan/include)
${PROJECT_SOURCE_DIR}/../source_third_party/khronos/vulkan/include)

lgl_set_build_options(${VK_LAYER})

Expand Down
2 changes: 1 addition & 1 deletion layer_gpu_support/source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ target_include_directories(
target_include_directories(
${VK_LAYER} SYSTEM PRIVATE
${PROJECT_SOURCE_DIR}/../source_third_party
${PROJECT_SOURCE_DIR}/../khronos/vulkan/include)
${PROJECT_SOURCE_DIR}/../source_third_party/khronos/vulkan/include)

lgl_set_build_options(${VK_LAYER})

Expand Down
2 changes: 1 addition & 1 deletion layer_gpu_timeline/source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ target_include_directories(
target_include_directories(
${VK_LAYER} SYSTEM PRIVATE
${PROJECT_SOURCE_DIR}/../source_third_party
${PROJECT_SOURCE_DIR}/../khronos/vulkan/include)
${PROJECT_SOURCE_DIR}/../source_third_party/khronos/vulkan/include)

lgl_set_build_options(${VK_LAYER})

Expand Down
6 changes: 3 additions & 3 deletions source_common/comms/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ target_link_libraries(

# Exclude from ctest for now because it needs user to manually run the
# external server program before the test can pass
#add_test(
# NAME ${TEST_BINARY}
# COMMAND ${TEST_BINARY})
# add_test(
# NAME ${TEST_BINARY}
# COMMAND ${TEST_BINARY})

install(
TARGETS ${TEST_BINARY}
Expand Down
2 changes: 1 addition & 1 deletion source_common/framework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ target_include_directories(
target_include_directories(
${LIB_BINARY} SYSTEM PRIVATE
${PROJECT_SOURCE_DIR}/../source_third_party
${PROJECT_SOURCE_DIR}/../khronos/vulkan/include
${PROJECT_SOURCE_DIR}/../source_third_party/khronos/vulkan/include
../)

lgl_set_build_options(${LIB_BINARY})
4 changes: 2 additions & 2 deletions source_common/trackers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ add_library(

target_include_directories(
${LIB_BINARY} PRIVATE
../../khronos/vulkan/include
../../source_third_party
${PROJECT_SOURCE_DIR}/../source_third_party/
${PROJECT_SOURCE_DIR}/../source_third_party/khronos/vulkan/include
../)

lgl_set_build_options(${LIB_BINARY})
Expand Down

0 comments on commit db7500b

Please sign in to comment.