Skip to content

Commit 8741d97

Browse files
committed
Merge pull request opencv#9216 from alalek:build_global_defines
2 parents 432d0fd + 5e6e126 commit 8741d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/OpenCVModule.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ macro(ocv_add_module _name)
227227
project(${the_module})
228228
add_definitions(
229229
-D_USE_MATH_DEFINES # M_PI constant in MSVS
230-
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS # to use C libraries from C++ code (ffmpeg)
230+
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS # to use C libraries from C++ code (ffmpeg)
231231
)
232232
endif()
233233
endif()

0 commit comments

Comments
 (0)