From bb2a7f84f61ff75242f5d269dab09ef88b69c182 Mon Sep 17 00:00:00 2001 From: Mathias Kraus Date: Wed, 17 Apr 2024 17:11:09 +0200 Subject: [PATCH] iox-#2011 Use cmake mechanism to suppress the output --- iceoryx_posh/cmake/cpptoml/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iceoryx_posh/cmake/cpptoml/CMakeLists.txt b/iceoryx_posh/cmake/cpptoml/CMakeLists.txt index e21489a75f..42e79d98fb 100644 --- a/iceoryx_posh/cmake/cpptoml/CMakeLists.txt +++ b/iceoryx_posh/cmake/cpptoml/CMakeLists.txt @@ -73,9 +73,11 @@ if(DEFINED CMAKE_TOOLCHAIN_FILE) endif() execute_process( - COMMAND git apply -R -p1 --ignore-space-change --whitespace=nowarn --quiet --check + COMMAND git apply -R -p1 --ignore-space-change --whitespace=nowarn --check INPUT_FILE "${CMAKE_CURRENT_LIST_DIR}/0001-cpptoml-cmake-version.patch" WORKING_DIRECTORY "${SOURCE_DIR}" + OUTPUT_QUIET + ERROR_QUIET RESULT_VARIABLE result) if(result) message(STATUS "Applying patch for minimal cmake version to cpptoml")