1
0
forked from boostorg/mp11

Override the default BoostInstall layout on Windows when standalone

This commit is contained in:
Peter Dimov
2020-03-22 20:17:39 +02:00
parent 20ea61df94
commit cb2705df26

View File

@@ -48,6 +48,9 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
endif()
# Do not use the default BoostInstall versioned layout on Windows when standalone
set(BOOST_INSTALL_LAYOUT "system" CACHE STRING "Installation layout (versioned, tagged, or system)")
endif()
include(BoostInstall OPTIONAL RESULT_VARIABLE HAVE_BOOST_INSTALL)