Skip to content

Commit f8a639b

Browse files
committed
ci: print third-party logs on build failure
1 parent f07cd85 commit f8a639b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

cmake_modules/ThirdpartyToolchain.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ set(THIRDPARTY_LOG_OPTIONS
2323
LOG_INSTALL
2424
1
2525
LOG_DOWNLOAD
26+
1
27+
LOG_OUTPUT_ON_FAILURE
2628
1)
2729
set(THIRDPARTY_CONFIGURE_COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}")
2830
if(CMAKE_GENERATOR_TOOLSET)
@@ -947,7 +949,8 @@ macro(build_boost)
947949
BUILD_BYPRODUCTS ${BOOST_BYPRODUCTS}
948950
LOG_DOWNLOAD ON
949951
LOG_CONFIGURE ON
950-
LOG_BUILD ON)
952+
LOG_BUILD ON
953+
LOG_OUTPUT_ON_FAILURE ON)
951954

952955
include_directories(SYSTEM ${BOOST_INCLUDE_DIR})
953956

0 commit comments

Comments
 (0)