Commit fc2a71db authored by Alexander Alekhin's avatar Alexander Alekhin

build: enable __STDC_FORMAT_MACROS macro

parent 6bafc2c5
...@@ -172,7 +172,7 @@ macro(ocv_add_module _name) ...@@ -172,7 +172,7 @@ macro(ocv_add_module _name)
project(${the_module}) project(${the_module})
add_definitions( add_definitions(
-D_USE_MATH_DEFINES # M_PI constant in MSVS -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) endif(OPENCV_INITIAL_PASS)
endmacro() endmacro()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment