From 7605e0ba7c9fab062b89ff15678567c6bbeea5f4 Mon Sep 17 00:00:00 2001 From: Mike Vastola Date: Thu, 9 Apr 2026 15:17:09 -0400 Subject: [PATCH] Apply suggested format changes --- CMakeLists.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ec224a94..fc671c17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -308,7 +308,8 @@ else () message(WARNING "Feature cxx_std_11 is unknown for the CXX compiler") endif () -check_cxx_source_compiles([[ +check_cxx_source_compiles( + [[ #include int main() { // Use stdout just to prove we can pass a FILE* to it @@ -316,9 +317,11 @@ check_cxx_source_compiles([[ funlockfile(stdout); return 0; } -]] HAVE_FLOCKFILE_COMPILE_TEST) -target_compile_definitions(fmt PRIVATE - FMT_HAVE_FLOCKFILE_COMPILE_TEST=$) +]] + HAVE_FLOCKFILE_COMPILE_TEST) +target_compile_definitions( + fmt + PRIVATE FMT_HAVE_FLOCKFILE_COMPILE_TEST=$) # Set FMT_LIB_NAME for pkg-config fmt.pc. We cannot use the OUTPUT_NAME target # property because it's not set by default.