diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-07-20 20:31:21 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-07-20 20:31:21 +0000 |
commit | a9eea039176d779534b375bc1337bebfc6545a43 (patch) | |
tree | 7b5f94bc7865e47f2218302487068d9bc5eb1cd3 /user/opencv/cmake-license.patch | |
parent | f799656116107fbf451953facefa4786c605cc81 (diff) | |
download | packages-a9eea039176d779534b375bc1337bebfc6545a43.tar.gz packages-a9eea039176d779534b375bc1337bebfc6545a43.tar.bz2 packages-a9eea039176d779534b375bc1337bebfc6545a43.tar.xz packages-a9eea039176d779534b375bc1337bebfc6545a43.zip |
user/opencv: unmaintained bump to 4.1.0 (Adopt me today)
Diffstat (limited to 'user/opencv/cmake-license.patch')
-rw-r--r-- | user/opencv/cmake-license.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/user/opencv/cmake-license.patch b/user/opencv/cmake-license.patch new file mode 100644 index 000000000..be40f4edf --- /dev/null +++ b/user/opencv/cmake-license.patch @@ -0,0 +1,12 @@ +We remove the 3rdparty dir in build, and we don't need the OpenCL license. + +--- opencv-4.1.0/cmake/OpenCVDetectOpenCL.cmake.old 2019-04-07 17:09:10.000000000 +0000 ++++ opencv-4.1.0/cmake/OpenCVDetectOpenCL.cmake 2019-07-20 20:21:37.467680107 +0000 +@@ -5,7 +5,6 @@ + else() + set(OPENCL_LIBRARY "" CACHE STRING "OpenCL library") + set(OPENCL_INCLUDE_DIR "${OpenCV_SOURCE_DIR}/3rdparty/include/opencl/1.2" CACHE PATH "OpenCL include directory") +- ocv_install_3rdparty_licenses(opencl-headers "${OpenCV_SOURCE_DIR}/3rdparty/include/opencl/LICENSE.txt") + endif() + mark_as_advanced(OPENCL_INCLUDE_DIR OPENCL_LIBRARY) + |