From 8605431450b79e41fc885c904b4a7cf362943edc Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Thu, 2 Jul 2026 08:40:06 +0200 Subject: [PATCH] :green_heart: fix build Signed-off-by: Niels Lohmann --- tests/fmt_formatter/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/fmt_formatter/CMakeLists.txt b/tests/fmt_formatter/CMakeLists.txt index 54537f904..7e65cd3ed 100644 --- a/tests/fmt_formatter/CMakeLists.txt +++ b/tests/fmt_formatter/CMakeLists.txt @@ -1,4 +1,7 @@ -if (${CMAKE_VERSION} VERSION_GREATER "3.14.0") +# fmt's CMakeLists.txt unconditionally sets the VERSION/SOVERSION/DEBUG_POSTFIX +# properties on its (always-configured) INTERFACE_LIBRARY "fmt-header-only" target; +# CMake rejected those properties on INTERFACE_LIBRARY targets before CMake 3.19 +if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.19.0") add_test(NAME fmt_formatter_configure COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}"