We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98c4f34 + 861ef3c commit ceb6aeaCopy full SHA for ceb6aea
CMakeLists.txt
@@ -12,7 +12,8 @@ if (CMAKE_VERSION VERSION_LESS "3.21")
12
string(COMPARE EQUAL ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR} PROJECT_IS_TOP_LEVEL)
13
endif()
14
15
-if (PROJECT_IS_TOP_LEVEL)
+option(VMA_ENABLE_INSTALL "Install VulkanMemoryAllocator" ${PROJECT_IS_TOP_LEVEL})
16
+if (VMA_ENABLE_INSTALL)
17
include(GNUInstallDirs)
18
include(CMakePackageConfigHelpers)
19
0 commit comments