summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorMike Weiblen <[email protected]>2020-04-23 10:59:45 -0600
committerMike Weiblen <[email protected]>2020-04-23 10:59:45 -0600
commit62becc509a886c6a79548ba7ab0e3b59f8a15306 (patch)
tree393222b5c100410fb2cff33ac58fafc6e4c4f28b /cmake
parent382bf3de06fc8c8961055afc37957fe65846c33b (diff)
downloadVulkan-Headers-62becc509a886c6a79548ba7ab0e3b59f8a15306.tar.gz
Vulkan-Headers-62becc509a886c6a79548ba7ab0e3b59f8a15306.zip
Revert "Export versioned targets for CMake"
This reverts commit 382bf3de06fc8c8961055afc37957fe65846c33b. Revert PR #110 https://github.com/KhronosGroup/Vulkan-Headers/pull/110
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Config.cmake.in25
1 files changed, 0 insertions, 25 deletions
diff --git a/cmake/Config.cmake.in b/cmake/Config.cmake.in
deleted file mode 100644
index 4bf6cd5..0000000
--- a/cmake/Config.cmake.in
+++ /dev/null
@@ -1,25 +0,0 @@
-@PACKAGE_INIT@
-
-include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
-check_required_components("@PROJECT_NAME@")
-
-# ALIAS for imported target requires CMake >= 3.11:
-# - https://cmake.org/cmake/help/latest/release/3.11.html#other
-if(NOT CMAKE_VERSION VERSION_LESS 3.11)
- if(NOT TARGET Vulkan::Headers)
- set_target_properties(
- Vulkan::Vulkan-Headers
- PROPERTIES
- IMPORTED_GLOBAL True
- )
- add_library(Vulkan::Headers ALIAS Vulkan::Vulkan-Headers)
- endif()
- if(NOT TARGET Vulkan::Registry)
- set_target_properties(
- Vulkan::Vulkan-Registry
- PROPERTIES
- IMPORTED_GLOBAL True
- )
- add_library(Vulkan::Registry ALIAS Vulkan::Vulkan-Registry)
- endif()
-endif()