You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
406 B
16 lines
406 B
file(MAKE_DIRECTORY "${bin_dir}")
|
|
include(ProcessorCount)
|
|
ProcessorCount(nproc)
|
|
if(NOT nproc EQUAL 0)
|
|
set(parallel_arg --parallel=${nproc})
|
|
endif()
|
|
message(STATUS "running bootstrap: ${bootstrap} ${parallel_arg}")
|
|
execute_process(
|
|
COMMAND ${bootstrap} ${parallel_arg}
|
|
WORKING_DIRECTORY "${bin_dir}"
|
|
RESULT_VARIABLE result
|
|
)
|
|
if(result)
|
|
message(FATAL_ERROR "bootstrap failed: ${result}")
|
|
endif()
|