File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -308,17 +308,20 @@ else ()
308308 message (WARNING "Feature cxx_std_11 is unknown for the CXX compiler" )
309309endif ()
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.
You can’t perform that action at this time.
0 commit comments