We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 252cd0a commit fe75e5fCopy full SHA for fe75e5f
1 file changed
lib/vulkan-headers/CMakeLists.txt
@@ -1,4 +1,7 @@
1
add_library(VulkanHeaders INTERFACE)
2
-target_include_directories(VulkanHeaders SYSTEM INTERFACE
+# Non-SYSTEM so the bundled headers use -I (not -isystem). This guarantees
3
+# they are found before any system-installed Vulkan headers that other
4
+# dependencies (e.g. OpenXR) may pull in via find_package(Vulkan).
5
+target_include_directories(VulkanHeaders INTERFACE
6
"${CMAKE_CURRENT_SOURCE_DIR}/include"
7
)
0 commit comments