[opencv] 137/251: build: enable __STDC_FORMAT_MACROS macro
Nobuhiro Iwamatsu
iwamatsu at moszumanska.debian.org
Sun Aug 27 23:27:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
iwamatsu pushed a commit to annotated tag 3.3.0
in repository opencv.
commit 5e6e12600fd4256468867e36612dbf35e9af7573
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 10a1264..48b3b41 100644
--- a/cmake/OpenCVModule.cmake
+++ b/cmake/OpenCVModule.cmake
@@ -227,7 +227,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()
endif()
--
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