When using local version of vulkan.hpp use local version of vulkan.h … (#207)

* When using local version of vulkan.hpp use local version of vulkan.h too so that the headers do match.
* Update to Vulkan 1.1.74
This commit is contained in:
Markus Tavenrath
2018-04-23 15:16:32 +02:00
committed by GitHub
parent f54bf98790
commit 4b179131e6
11 changed files with 14 additions and 44 deletions

View File

@@ -32,10 +32,4 @@ add_executable(05_InitSwapchain
)
set_target_properties(05_InitSwapchain PROPERTIES FOLDER "Samples")
if (SAMPLES_BUILD_WITH_LOCAL_VULKAN_HPP)
target_include_directories(05_InitSwapchain PUBLIC "${CMAKE_SOURCE_DIR}")
endif()
target_include_directories(05_InitSwapchain PUBLIC "$ENV{VK_SDK_PATH}/include")
target_link_libraries(05_InitSwapchain "$ENV{VK_SDK_PATH}/Lib/vulkan-1.lib")