Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Laky-64 committed Nov 23, 2023
1 parent 6893a56 commit dd027f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/FindBoost.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down

0 comments on commit dd027f0

Please sign in to comment.