diff --git a/CMakeLists.txt b/CMakeLists.txt index 7819608e..9d7470c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,11 +21,11 @@ project(Vulkan-Headers LANGUAGES C VERSION ${VK_VERSION_STRING}) message(STATUS "${PROJECT_NAME} = ${PROJECT_VERSION}") add_library(Vulkan-Headers INTERFACE) -target_include_directories(Vulkan-Headers INTERFACE $) +target_include_directories(Vulkan-Headers INTERFACE $) add_library(Vulkan::Headers ALIAS Vulkan-Headers) add_library(Vulkan-Registry INTERFACE) -target_include_directories(Vulkan-Registry INTERFACE $) +target_include_directories(Vulkan-Registry INTERFACE $) add_library(Vulkan::Registry ALIAS Vulkan-Registry) # https://cmake.org/cmake/help/latest/variable/PROJECT_IS_TOP_LEVEL.html