From dd027f0e2a6c54076d67fc6ace116b77661c1377 Mon Sep 17 00:00:00 2001 From: Laky64 Date: Thu, 23 Nov 2023 18:56:13 +0100 Subject: [PATCH] Test --- cmake/FindBoost.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/FindBoost.cmake b/cmake/FindBoost.cmake index 308f9163..07c16961 100644 --- a/cmake/FindBoost.cmake +++ b/cmake/FindBoost.cmake @@ -120,11 +120,13 @@ if(NOT DEFINED LAST_BOOST_LIBS OR execute_process(COMMAND ${BUILD_COMMAND} WORKING_DIRECTORY ${BOOST_WORKDIR} RESULT_VARIABLE rv + ERROR_VARIABLE test OUTPUT_QUIET ERROR_QUIET ) if(NOT rv EQUAL 0) file(REMOVE_RECURSE ${BOOST_ROOT}) + message("${test}") string (REPLACE ";" " " BUILD_COMMAND "${BUILD_COMMAND}") message(FATAL_ERROR "[BOOST] Error while executing ${BUILD_COMMAND}, cleaning up") endif ()