From cb2705df2634145782dec5b03dfc232f69a7d364 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 22 Mar 2020 20:17:39 +0200 Subject: [PATCH] Override the default BoostInstall layout on Windows when standalone --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0367547..1707cb5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)