diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2023-02-27 07:51:07 (GMT) |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2023-02-28 07:32:01 (GMT) |
commit | 829f1b5be4bdf9eca5006f675f78a759c456d592 (patch) | |
tree | 5608bf2a46f32fb4bebc2e93bac8db071392ec30 /Modules/FindVulkan.cmake | |
parent | e4b56c8224a95004dc53cbbec5fa7fa13590a329 (diff) | |
download | CMake-829f1b5be4bdf9eca5006f675f78a759c456d592.zip CMake-829f1b5be4bdf9eca5006f675f78a759c456d592.tar.gz CMake-829f1b5be4bdf9eca5006f675f78a759c456d592.tar.bz2 |
FindVulkan: Add more search paths for MINGW when cross compiling
Fixes: #24536
Diffstat (limited to 'Modules/FindVulkan.cmake')
-rw-r--r-- | Modules/FindVulkan.cmake | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Modules/FindVulkan.cmake b/Modules/FindVulkan.cmake index 3817987..581763d 100644 --- a/Modules/FindVulkan.cmake +++ b/Modules/FindVulkan.cmake @@ -244,23 +244,26 @@ endif() if(WIN32) set(_Vulkan_library_name vulkan-1) set(_Vulkan_hint_include_search_paths - "$ENV{VULKAN_SDK}/Include" + "$ENV{VULKAN_SDK}/include" ) if(CMAKE_SIZEOF_VOID_P EQUAL 8) set(_Vulkan_hint_executable_search_paths - "$ENV{VULKAN_SDK}/Bin" + "$ENV{VULKAN_SDK}/bin" ) set(_Vulkan_hint_library_search_paths - "$ENV{VULKAN_SDK}/Lib" - "$ENV{VULKAN_SDK}/Bin" + "$ENV{VULKAN_SDK}/lib" + "$ENV{VULKAN_SDK}/bin" ) else() set(_Vulkan_hint_executable_search_paths - "$ENV{VULKAN_SDK}/Bin32" + "$ENV{VULKAN_SDK}/bin32" + "$ENV{VULKAN_SDK}/bin" ) set(_Vulkan_hint_library_search_paths - "$ENV{VULKAN_SDK}/Lib32" - "$ENV{VULKAN_SDK}/Bin32" + "$ENV{VULKAN_SDK}/lib32" + "$ENV{VULKAN_SDK}/bin32" + "$ENV{VULKAN_SDK}/lib" + "$ENV{VULKAN_SDK}/bin" ) endif() else() |