Skip to content

Commit

Permalink
Disable download logs for NIfTI headers to the console
Browse files Browse the repository at this point in the history
Enabling LOG_DOWNLOAD the output of the download step is logged to CMake log files in the build directory.
  • Loading branch information
daljit46 authored and Lestropie committed Sep 11, 2024
1 parent f30ab69 commit de81d47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ else()
CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND ""
DOWNLOAD_NO_EXTRACT ON
DOWNLOAD_NO_PROGRESS ON
LOG_DOWNLOAD ON
)
ExternalProject_Add(
nifti2
Expand All @@ -84,6 +85,7 @@ else()
CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND ""
DOWNLOAD_NO_EXTRACT ON
DOWNLOAD_NO_PROGRESS ON
LOG_DOWNLOAD ON
)
target_include_directories(nifti INTERFACE "${CMAKE_CURRENT_BINARY_DIR}/nifti/src/")
endif()
Expand Down

0 comments on commit de81d47

Please sign in to comment.