Define vulkan headers as system

This commit is contained in:
Guillaume Meunier committed 2024-10-01 23:04:19 +02:00
1 parent 9ec6e9689e
commit cf7651e781
1 file changed
+1 -1
+1 -1
View File
@@ -50,7 +50,7 @@ if(ANDROID)
file(ARCHIVE_EXTRACT INPUT ${CMAKE_BINARY_DIR}/vulkan-sdk-${VULKAN_VERSION}.tar.gz DESTINATION ${CMAKE_BINARY_DIR})
target_include_directories(wivrn-common PUBLIC ${CMAKE_BINARY_DIR}/Vulkan-Headers-vulkan-sdk-${VULKAN_VERSION}/include)
target_include_directories(wivrn-common SYSTEM PUBLIC ${CMAKE_BINARY_DIR}/Vulkan-Headers-vulkan-sdk-${VULKAN_VERSION}/include)
target_compile_definitions(wivrn-common PUBLIC VMA_VULKAN_VERSION=1001000)
else()
target_link_libraries(wivrn-common PUBLIC Vulkan::Headers)