Przeglądaj źródła

FindVulkan: Add missing 3.24 release notes

MACHIZAUD Andréa 3 lat temu
rodzic
commit
0b538e4002
2 zmienionych plików z 7 dodań i 0 usunięć
  1. 4 0
      Help/release/3.24.rst
  2. 3 0
      Modules/FindVulkan.cmake

+ 4 - 0
Help/release/3.24.rst

@@ -220,6 +220,10 @@ Modules
   gained a ``NO_IMPLICIT_LINK_TO_MATLAB_LIBRARIES`` option to disable
   automatic linking of MATLAB libraries.
 
+* The :module:`FindVulkan` module now supports components to select which
+  VulkanSDK tool and libraries to find in addition to the Vulkan SDK headers
+  and library.
+
 * The :module:`FindZLIB` gained a new ``ZLIB_USE_STATIC_LIBS`` variable to
   search only for static libraries.
 

+ 3 - 0
Modules/FindVulkan.cmake

@@ -36,6 +36,9 @@ There are corresponding imported targets for each of these.
 ``MoltenVK``
   On macOS, an additional component ``MoltenVK`` is available.
 
+The ``glslc`` and ``glslangValidator`` components are provided even
+if not explicitly requested (for backward compatibility).
+
 IMPORTED Targets
 ^^^^^^^^^^^^^^^^