Commit 407f7a78 authored by Konstantin Podsvirov's avatar Konstantin Podsvirov
Browse files

FindVulkan: Fix for MSYS2 distro

The MSYS2 building platform provide
https://packages.msys2.org/base/mingw-w64-vulkan-loader
package that allow usage Vulkan API without installing SDK.
parent 265fb71c
Pipeline #170636 passed with stage
......@@ -30,7 +30,12 @@ The module will also define two cache variables::
#]=======================================================================]
if(WIN32)
if(MINGW AND "$ENV{MSYSTEM}" MATCHES "MINGW")
find_path(Vulkan_INCLUDE_DIR
NAMES vulkan/vulkan.h)
find_library(Vulkan_LIBRARY
NAMES vulkan)
elseif(WIN32)
find_path(Vulkan_INCLUDE_DIR
NAMES vulkan/vulkan.h
PATHS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment