mirror of
https://github.com/reactos/CMake.git
synced 2024-12-18 09:07:49 +00:00
8ee6b47630
Run the bootstrap script through "cmake -P" instead of "ctest --build-and-test" so that we do not need to abuse the --build-makeprogram option of the latter.
11 lines
258 B
CMake
11 lines
258 B
CMake
file(MAKE_DIRECTORY "${bin_dir}")
|
|
message(STATUS "running bootstrap: ${bootstrap}")
|
|
execute_process(
|
|
COMMAND ${bootstrap}
|
|
WORKING_DIRECTORY "${bin_dir}"
|
|
RESULT_VARIABLE result
|
|
)
|
|
if(result)
|
|
message(FATAL_ERROR "bootstrap failed: ${result}")
|
|
endif()
|