blob: 248e5034a218f0a7e4dcc7fc673787513bb4e68a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- a/cmake/OpenCVDetectPython.cmake 2018-05-31 09:14:42.998873104 +0200
+++ b/cmake/OpenCVDetectPython.cmake 2018-05-31 09:26:08.444914001 +0200
@@ -140,8 +140,8 @@
else() #debian based assumed, install to the dist-packages.
set(_packages_path "python${_version_major_minor}/dist-packages")
endif()
- if(EXISTS "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/${${packages_path}}")
- set(_packages_path "lib${LIB_SUFFIX}/${_packages_path}")
+ if(EXISTS "${CMAKE_INSTALL_PREFIX}/lib${LIBPY_SUFFIX}/${${packages_path}}")
+ set(_packages_path "lib${LIBPY_SUFFIX}/${_packages_path}")
else()
set(_packages_path "lib/${_packages_path}")
endif()
|