From 8f00e3e293ff997e76ae2240a3d40f20b0510f2a Mon Sep 17 00:00:00 2001
From: Antoine Regimbeau <antoine.regimbeau@c-s.fr>
Date: Wed, 24 Jul 2019 16:19:13 +0200
Subject: [PATCH] Remove the prefix option as it bugs on windows

---
 SuperBuild/CMake/External_boost.cmake | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/SuperBuild/CMake/External_boost.cmake b/SuperBuild/CMake/External_boost.cmake
index 8298bf192f..e5a6a8b566 100644
--- a/SuperBuild/CMake/External_boost.cmake
+++ b/SuperBuild/CMake/External_boost.cmake
@@ -34,8 +34,6 @@ else()
   set(BOOST_B2_EXE "b2.exe")
 endif()
 
-set( BOOST_BOOTSTRAP_OPTIONS "${BOOST_BOOTSTRAP_OPTIONS} --prefix=${SB_INSTALL_PREFIX}")
-
 set(BOOST_CONFIGURE_COMMAND ${CMAKE_COMMAND}
   -E chdir ${BOOST_SB_SRC}
   ${BOOST_BOOTSTRAP_FILE} ${BOOST_BOOTSTRAP_OPTIONS}
@@ -45,7 +43,6 @@ set(BOOST_CONFIGURE_COMMAND ${CMAKE_COMMAND}
 # must be passed to b2. Why? Windows... That is why...
 # Libraries we need from boost
 set( boost_libraries_to_build "system;serialization;filesystem;test;date_time;program_options;thread")
-message( "boost_libraries_to_build = ${boost_libraries_to_build}")
 # add libraries to b2 option
 set(BOOST_SB_CONFIG)
 foreach(lib ${boost_libraries_to_build})
-- 
GitLab