[opencv] 48/53: build: enable __STDC_FORMAT_MACROS macro

Nobuhiro Iwamatsu iwamatsu at moszumanska.debian.org
Sun Aug 27 23:27:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

iwamatsu pushed a commit to annotated tag 2.4.13.3
in repository opencv.

commit fc2a71dbab1889ceab5b42bfa4fe7b0f45c5a107
Author: Alexander Alekhin <alexander.alekhin at intel.com>
Date:   Fri Jul 21 14:29:03 2017 +0300

    build: enable __STDC_FORMAT_MACROS macro
---
 cmake/OpenCVModule.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/OpenCVModule.cmake b/cmake/OpenCVModule.cmake
index c5a81b2..dc92a04 100644
--- a/cmake/OpenCVModule.cmake
+++ b/cmake/OpenCVModule.cmake
@@ -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()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list