add OpenVulkano prefix to cmake options
This commit is contained in:
@@ -5,7 +5,7 @@ function(SetupVulkan TARGET)
|
||||
else ()
|
||||
find_package(Vulkan REQUIRED)
|
||||
target_link_libraries(${TARGET} PRIVATE Vulkan::Vulkan)
|
||||
if (ENABLE_SHADERC)
|
||||
if (OPENVULKANO_ENABLE_SHADERC)
|
||||
find_package(Vulkan OPTIONAL_COMPONENTS shaderc_combined)
|
||||
if (Vulkan_shaderc_combined_FOUND)
|
||||
target_link_libraries(${TARGET} PRIVATE Vulkan::shaderc_combined)
|
||||
|
||||
Reference in New Issue
Block a user