Commit a4358b09 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'hide-progress-with-ninja'

a5d933df

 SuperbuildMacros: hide progress output when using Ninja
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !372
parents 2f992b8f a5d933df
......@@ -1219,9 +1219,15 @@ function (_superbuild_add_project_internal name)
set(prepended_cmake_prefix_path
"${superbuild_prefix_path}${converted_cmake_prefix_path}")
set(no_progress OFF)
if (CMAKE_GENERATOR MATCHES "Ninja")
set(no_progress ON)
endif ()
# ARGN needs to be quoted so that empty list items aren't removed if that
# happens options like INSTALL_COMMAND "" won't work.
_superbuild_ExternalProject_add(${name} "${ARGN}"
DOWNLOAD_NO_PROGRESS "${no_progress}"
PREFIX "${name}"
DOWNLOAD_DIR "${superbuild_download_location}"
STAMP_DIR "${name}/stamp"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment