diff options
author | Brad King <brad.king@kitware.com> | 2017-03-03 12:57:33 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2017-03-03 12:57:33 (GMT) |
commit | 79b017f23cb012aaaad361c5e4478dcfa7bcc829 (patch) | |
tree | 854225f2ec3ce0605e267f418ecb1d7b6207d8a8 /Modules | |
parent | 24c0e229efd92392a877ba5c7c52d74fb9fdf689 (diff) | |
parent | 8e58f360f53eab991debe507c669595cec7f07fa (diff) | |
download | CMake-79b017f23cb012aaaad361c5e4478dcfa7bcc829.zip CMake-79b017f23cb012aaaad361c5e4478dcfa7bcc829.tar.gz CMake-79b017f23cb012aaaad361c5e4478dcfa7bcc829.tar.bz2 |
Merge topic 'FindVulkan-update'
8e58f360 FindVulkan: Update for LunarG SDK import library location on Windows
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindVulkan.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Modules/FindVulkan.cmake b/Modules/FindVulkan.cmake index 820e0eb..0be9f97 100644 --- a/Modules/FindVulkan.cmake +++ b/Modules/FindVulkan.cmake @@ -39,12 +39,16 @@ if(WIN32) find_library(Vulkan_LIBRARY NAMES vulkan-1 PATHS - "$ENV{VULKAN_SDK}/Bin") + "$ENV{VULKAN_SDK}/Lib" + "$ENV{VULKAN_SDK}/Bin" + ) elseif(CMAKE_SIZEOF_VOID_P EQUAL 4) find_library(Vulkan_LIBRARY NAMES vulkan-1 PATHS - "$ENV{VULKAN_SDK}/Bin32") + "$ENV{VULKAN_SDK}/Lib32" + "$ENV{VULKAN_SDK}/Bin32" + ) endif() else() find_path(Vulkan_INCLUDE_DIR |