CMake documentation to make things clearer

This commit is contained in:
Sharadh Rajaraman 2025-10-10 12:22:42 +01:00 committed by Charles Giessen
parent 09da66815c
commit df274657d8

View file

@ -85,6 +85,8 @@ if (VULKAN_HEADERS_ENABLE_INSTALL)
include(GNUInstallDirs) include(GNUInstallDirs)
include(CMakePackageConfigHelpers) include(CMakePackageConfigHelpers)
# Remove the module interface files from the header target if the named module installation is ENABLED.
# This ensures that the module interface files are only installed once.
if(VULKAN_HEADERS_ENABLE_MODULE) if(VULKAN_HEADERS_ENABLE_MODULE)
set(CPPM_PATTERN "*.cppm") set(CPPM_PATTERN "*.cppm")
else() else()