Skip to content

Commit 7605e0b

Browse files
committed
Apply suggested format changes
1 parent 78cedd8 commit 7605e0b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

CMakeLists.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,17 +308,20 @@ else ()
308308
message(WARNING "Feature cxx_std_11 is unknown for the CXX compiler")
309309
endif ()
310310

311-
check_cxx_source_compiles([[
311+
check_cxx_source_compiles(
312+
[[
312313
#include <stdio.h>
313314
int main() {
314315
// Use stdout just to prove we can pass a FILE* to it
315316
flockfile(stdout);
316317
funlockfile(stdout);
317318
return 0;
318319
}
319-
]] HAVE_FLOCKFILE_COMPILE_TEST)
320-
target_compile_definitions(fmt PRIVATE
321-
FMT_HAVE_FLOCKFILE_COMPILE_TEST=$<BOOL:HAVE_FLOCKFILE_COMPILE_TEST>)
320+
]]
321+
HAVE_FLOCKFILE_COMPILE_TEST)
322+
target_compile_definitions(
323+
fmt
324+
PRIVATE FMT_HAVE_FLOCKFILE_COMPILE_TEST=$<BOOL:HAVE_FLOCKFILE_COMPILE_TEST>)
322325

323326
# Set FMT_LIB_NAME for pkg-config fmt.pc. We cannot use the OUTPUT_NAME target
324327
# property because it's not set by default.

0 commit comments

Comments
 (0)