Skip to content

Commit fc2a71d

Browse files
committed
build: enable __STDC_FORMAT_MACROS macro
1 parent 6bafc2c commit fc2a71d

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
@@ -172,7 +172,7 @@ macro(ocv_add_module _name)
172172
project(${the_module})
173173
add_definitions(
174174
-D_USE_MATH_DEFINES # M_PI constant in MSVS
175-
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS # to use C libraries from C++ code (ffmpeg)
175+
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS # to use C libraries from C++ code (ffmpeg)
176176
)
177177
endif(OPENCV_INITIAL_PASS)
178178
endmacro()

0 commit comments

Comments
 (0)