mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 12:17:05 +08:00
[vulkan] fix include path on linux (#5486)
The path used a capital `I` in include, whereas linux uses lower case.
This commit is contained in:
parent
2684a5d184
commit
5b0b4b6472
@ -5,7 +5,7 @@ include(vcpkg_common_functions)
|
|||||||
|
|
||||||
message(STATUS "Querying VULKAN_SDK Enviroment variable")
|
message(STATUS "Querying VULKAN_SDK Enviroment variable")
|
||||||
file(TO_CMAKE_PATH "$ENV{VULKAN_SDK}" VULKAN_DIR)
|
file(TO_CMAKE_PATH "$ENV{VULKAN_SDK}" VULKAN_DIR)
|
||||||
set(VULKAN_INCLUDE "${VULKAN_DIR}/Include/vulkan/")
|
set(VULKAN_INCLUDE "${VULKAN_DIR}/include/vulkan/")
|
||||||
set(VULKAN_ERROR_DL "Before continuing, please download and install Vulkan from:\n https://vulkan.lunarg.com/sdk/home\n")
|
set(VULKAN_ERROR_DL "Before continuing, please download and install Vulkan from:\n https://vulkan.lunarg.com/sdk/home\n")
|
||||||
|
|
||||||
if(NOT DEFINED ENV{VULKAN_SDK})
|
if(NOT DEFINED ENV{VULKAN_SDK})
|
||||||
@ -41,4 +41,4 @@ else()
|
|||||||
message(FATAL_ERROR "Could not find LICENSE.TXT")
|
message(FATAL_ERROR "Could not find LICENSE.TXT")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
||||||
|
Loading…
Reference in New Issue
Block a user