1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

build: enable __STDC_FORMAT_MACROS macro

This commit is contained in:
Alexander Alekhin
2017-07-21 14:29:03 +03:00
parent 6bafc2c598
commit fc2a71dbab
+1 -1
View File
@@ -172,7 +172,7 @@ macro(ocv_add_module _name)
project(${the_module})
add_definitions(
-D_USE_MATH_DEFINES # M_PI constant in MSVS
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS # to use C libraries from C++ code (ffmpeg)
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS # to use C libraries from C++ code (ffmpeg)
)
endif(OPENCV_INITIAL_PASS)
endmacro()