diff options
author | Juan Ramos <[email protected]> | 2023-01-11 12:44:00 -0700 |
---|---|---|
committer | Juan Ramos <[email protected]> | 2023-01-11 12:49:57 -0700 |
commit | ab48b9b20da5296c9d77756a3d8de4677d4c1fe2 (patch) | |
tree | 460136114830d075ea326783f71db82f020f6da0 | |
parent | b62045d6ba4dea72f79f28cfb5e1a9626c0b5ce6 (diff) | |
download | Vulkan-Headers-ab48b9b20da5296c9d77756a3d8de4677d4c1fe2.tar.gz Vulkan-Headers-ab48b9b20da5296c9d77756a3d8de4677d4c1fe2.zip |
cmake: Removes unused CMake macros
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | cmake/VulkanHeadersConfig.cmake.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c9d985..e439358 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") diff --git a/cmake/VulkanHeadersConfig.cmake.in b/cmake/VulkanHeadersConfig.cmake.in index d76f311..2f74a53 100644 --- a/cmake/VulkanHeadersConfig.cmake.in +++ b/cmake/VulkanHeadersConfig.cmake.in @@ -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@") |