Skip to content

Commit 5e6e126

Browse files
committed
build: enable __STDC_FORMAT_MACROS macro
1 parent bc3c7e8 commit 5e6e126

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)