Potential fix for empty strings inside VULKAN_INFO_OUTPUT
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
This commit is contained in:
parent
bc31ee4782
commit
c85dd89200
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ function(check_vulkan_version)
|
|||
return()
|
||||
endif()
|
||||
|
||||
string(REGEX MATCHALL "(GPU[0-9]+)" GPU_IDS ${VULKAN_INFO_OUTPUT})
|
||||
string(REGEX MATCHALL "(GPU[0-9]+)" GPU_IDS "${VULKAN_INFO_OUTPUT}")
|
||||
if(NOT GPU_IDS)
|
||||
message(FATAL_ERROR "No GPU supporting Vulkan found in vulkaninfo. Does your GPU (driver) support Vulkan?")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue