- add -D__STDC_CONSTANT_MACROS flag
authorlisu <lisu@pld-linux.org>
Fri, 13 Aug 2010 11:07:39 +0000 (11:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opencv-cflags.patch -> 1.1

opencv-cflags.patch [new file with mode: 0644]

diff --git a/opencv-cflags.patch b/opencv-cflags.patch
new file mode 100644 (file)
index 0000000..804d104
--- /dev/null
@@ -0,0 +1,11 @@
+--- OpenCV-2.1.0/CMakeLists.txt~       2010-08-13 12:44:23.367365865 +0200
++++ OpenCV-2.1.0/CMakeLists.txt        2010-08-13 12:47:51.710667315 +0200
+@@ -708,6 +708,8 @@
+ set(EXTRA_EXE_LINKER_FLAGS_RELEASE "")
+ set(EXTRA_EXE_LINKER_FLAGS_DEBUG "")
++set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -D__STDC_CONSTANT_MACROS")
++
+ if(MSVC)
+     set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS")
+     # 64-bit portability warnings, in MSVC8
This page took 0.80549 seconds and 4 git commands to generate.