cmake: Removes unused CMake macros

This commit is contained in:
Juan Ramos 2023-01-11 12:44:00 -07:00 committed by Juan Ramos
parent b62045d6ba
commit ab48b9b20d
2 changed files with 2 additions and 2 deletions

View file

@ -85,6 +85,8 @@ if (PROJECT_IS_TOP_LEVEL)
configure_package_config_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/VulkanHeadersConfig.cmake.in ${vulkan_headers_config}
INSTALL_DESTINATION ${cmake_files_install_dir}
PATH_VARS VULKAN_HEADERS_REGISTRY_DIRECTORY
NO_SET_AND_CHECK_MACRO
NO_CHECK_REQUIRED_COMPONENTS_MACRO
)
set(config_version "${CMAKE_CURRENT_BINARY_DIR}/VulkanHeadersConfigVersion.cmake")

View file

@ -2,6 +2,4 @@
include("${CMAKE_CURRENT_LIST_DIR}/VulkanHeadersTargets.cmake")
check_required_components(VulkanHeaders)
set(VULKAN_HEADERS_REGISTRY_DIRECTORY "@PACKAGE_VULKAN_HEADERS_REGISTRY_DIRECTORY@")