diff --git a/README.md b/README.md index 20cae8292..d0aab3dd1 100644 --- a/README.md +++ b/README.md @@ -713,6 +713,13 @@ CMake provides the [FindVulkan module](https://cmake.org/cmake/help/latest/modul # find Vulkan SDK find_package( Vulkan REQUIRED ) +# Require Vulkan version ≥ 1.3.256 (earliest version when the Vulkan module was available) +if( ${Vulkan_VERSION} VERSION_LESS "1.3.256" ) + message( FATAL_ERROR "Minimum required Vulkan version for C++ modules is 1.3.256. " + "Found ${Vulkan_VERSION}." + ) +endif() + # set up Vulkan C++ module as a library add_library( VulkanHppModule ) target_sources( VulkanHppModule PRIVATE