mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-30 05:43:06 -08:00
Define vulkan headers as system
This commit is contained in:
1 parent
9ec6e9689e
commit
cf7651e781
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user