blob: 4bf6cd551dd0e073830c604c0f0beffcd5ed50ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
@PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake")
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()
|