aboutsummaryrefslogtreecommitdiff
path: root/graphics/opencv2/files/patch-cmake__OpenCVVersion.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/opencv2/files/patch-cmake__OpenCVVersion.cmake')
-rw-r--r--graphics/opencv2/files/patch-cmake__OpenCVVersion.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/opencv2/files/patch-cmake__OpenCVVersion.cmake b/graphics/opencv2/files/patch-cmake__OpenCVVersion.cmake
new file mode 100644
index 000000000000..d77f4b0b5511
--- /dev/null
+++ b/graphics/opencv2/files/patch-cmake__OpenCVVersion.cmake
@@ -0,0 +1,11 @@
+--- ./cmake/OpenCVVersion.cmake.orig 2013-10-24 00:12:48.000000000 -0400
++++ ./cmake/OpenCVVersion.cmake 2013-10-24 00:13:06.000000000 -0400
+@@ -11,7 +11,7 @@
+ set(OPENCV_VERSION "${OPENCV_VERSION}.${OPENCV_VERSION_TWEAK}")
+ endif()
+
+-set(OPENCV_SOVERSION "${OPENCV_VERSION_MAJOR}.${OPENCV_VERSION_MINOR}")
++set(OPENCV_SOVERSION "${OPENCV_VERSION_MAJOR}")
+ set(OPENCV_LIBVERSION "${OPENCV_VERSION_MAJOR}.${OPENCV_VERSION_MINOR}.${OPENCV_VERSION_PATCH}")
+
+ # create a dependency on version file