Skip to content

Commit

Permalink
Merge pull request #435 from scribam/vma-enable-install
Browse files Browse the repository at this point in the history
Allow external control of whether to install
  • Loading branch information
adam-sawicki-a authored Jul 17, 2024
2 parents 98c4f34 + 861ef3c commit ceb6aea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ if (CMAKE_VERSION VERSION_LESS "3.21")
string(COMPARE EQUAL ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR} PROJECT_IS_TOP_LEVEL)
endif()

if (PROJECT_IS_TOP_LEVEL)
option(VMA_ENABLE_INSTALL "Install VulkanMemoryAllocator" ${PROJECT_IS_TOP_LEVEL})
if (VMA_ENABLE_INSTALL)
include(GNUInstallDirs)
include(CMakePackageConfigHelpers)

Expand Down

0 comments on commit ceb6aea

Please sign in to comment.