Skip to content
Snippets Groups Projects
Commit 723955cd authored by Matthäus G. Chajdas's avatar Matthäus G. Chajdas Committed by Brad King
Browse files

FindVulkan: Fix for SDK versions < 1.0.42 on 32-bit Windows

Before Vulkan 1.0.42, the SDK would add the Bin directory to `PATH`,
which was confusing the 32-bit search on Windows.  Avoid such confusion
by ignoring the `PATH` when looking for the 32-bit version.

Vulkan 1.0.42 fixed the whole problem by moving the libraries into Lib,
Lib32, so this is strictly a compatibility fix for old SDKs.
parent 8e58f360
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@ if(WIN32)
PATHS
"$ENV{VULKAN_SDK}/Lib32"
"$ENV{VULKAN_SDK}/Bin32"
NO_SYSTEM_ENVIRONMENT_PATH
)
endif()
else()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment