aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-09-21 23:40:24 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-09-21 23:40:24 -0700
commitf03590eeb7f49495b1f3276c56ee3c84843b4bd1 (patch)
treedc49d664c4eb51c191dba77450dbd35188b48057
parent869a3b22ad9d13fa29b40751998127270365880b (diff)
downloadvcpkg-f03590eeb7f49495b1f3276c56ee3c84843b4bd1.tar.gz
vcpkg-f03590eeb7f49495b1f3276c56ee3c84843b4bd1.zip
Cleanup boost buildtrees before initiating a build
-rw-r--r--ports/boost/portfile.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/boost/portfile.cmake b/ports/boost/portfile.cmake
index b133b4275..1b9e00561 100644
--- a/ports/boost/portfile.cmake
+++ b/ports/boost/portfile.cmake
@@ -34,6 +34,9 @@ if(TRIPLET_SYSTEM_NAME MATCHES "WindowsStore")
set(ENV{BOOST_BUILD_PATH} ${CMAKE_CURRENT_LIST_DIR})
endif()
+
+file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg)
+
message(STATUS "Building ${TARGET_TRIPLET}-rel")
vcpkg_execute_required_process(
COMMAND "${CURRENT_BUILDTREES_DIR}/src/boost_1_61_0/b2.exe"