From 90283fa3319e096ae18cb87f55ba46362b41c258 Mon Sep 17 00:00:00 2001 From: Marcel Koch Date: Thu, 20 Feb 2025 13:29:30 +0100 Subject: [PATCH] [cmake] turn off yaml-cpp formatting --- extensions/test/config/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/test/config/CMakeLists.txt b/extensions/test/config/CMakeLists.txt index a0022004dc5..264119a847e 100644 --- a/extensions/test/config/CMakeLists.txt +++ b/extensions/test/config/CMakeLists.txt @@ -11,6 +11,8 @@ if(NOT yaml-cpp_FOUND) # Turn off additional tool in yaml-cpp # We change the standard of yaml-cpp. Without this, we will need to change the standard of tool targets additionally. set(YAML_CPP_BUILD_TOOLS OFF CACHE INTERNAL "") + # Turn off YAML formatting, since this clashes with our formatting target + set(YAML_CPP_FORMAT_SOURCE OFF CACHE INTERNAL "") FetchContent_MakeAvailable(yaml-cpp) # make sure the tests DLLs are placed in the working path for CTest