diff options
author | Juan Ramos <[email protected]> | 2022-12-09 11:23:48 -0700 |
---|---|---|
committer | Juan Ramos <[email protected]> | 2022-12-09 11:30:42 -0700 |
commit | e6cc1b3582c4b1760326790b227e04f1c504bd4b (patch) | |
tree | e6feb4ec6054c7933f7774faecda610d53ccc0a9 | |
parent | d14ccf951ff03cbc456232d85a621fa92a6adf92 (diff) | |
download | Vulkan-Headers-e6cc1b3582c4b1760326790b227e04f1c504bd4b.tar.gz Vulkan-Headers-e6cc1b3582c4b1760326790b227e04f1c504bd4b.zip |
cmake: Remove VULKAN_HEADERS_INSTALL
Not needed and adds clutter to projects that use add_subdirectory
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1786137..d728536 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,9 +59,7 @@ add_library(Vulkan::Registry ALIAS Vulkan-Registry) # https://cmake.org/cmake/help/latest/variable/PROJECT_IS_TOP_LEVEL.html string(COMPARE EQUAL ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR} PROJECT_IS_TOP_LEVEL) -option(VULKAN_HEADERS_INSTALL "Install Vulkan Headers" ${PROJECT_IS_TOP_LEVEL}) - -if (VULKAN_HEADERS_INSTALL) +if (PROJECT_IS_TOP_LEVEL) include(GNUInstallDirs) include(CMakePackageConfigHelpers) |