mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
16 lines
1.1 KiB
Diff
16 lines
1.1 KiB
Diff
|
diff -up OpenCV-2.3.1/CMakeLists.txt.00 OpenCV-2.3.1/CMakeLists.txt
|
||
|
--- OpenCV-2.3.1/CMakeLists.txt.00 2011-10-04 23:10:12.177001665 -0500
|
||
|
+++ OpenCV-2.3.1/CMakeLists.txt 2011-10-04 23:11:39.808001668 -0500
|
||
|
@@ -665,9 +665,9 @@ if(CMAKE_HOST_UNIX)
|
||
|
OUTPUT_VARIABLE PYTHON_STD_PACKAGES_PATH
|
||
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||
|
if("${PYTHON_STD_PACKAGES_PATH}" MATCHES "site-packages")
|
||
|
- set(PYTHON_PACKAGES_PATH lib/python${PYTHON_VERSION_MAJOR_MINOR}/site-packages CACHE PATH "Where to install the python packages.")
|
||
|
+ set(PYTHON_PACKAGES_PATH lib${LIB_SUFFIX}/python${PYTHON_VERSION_MAJOR_MINOR}/site-packages CACHE PATH "Where to install the python packages.")
|
||
|
else() #debian based assumed, install to the dist-packages.
|
||
|
- set(PYTHON_PACKAGES_PATH lib/python${PYTHON_VERSION_MAJOR_MINOR}/dist-packages CACHE PATH "Where to install the python packages.")
|
||
|
+ set(PYTHON_PACKAGES_PATH lib${LIB_SUFFIX}/python${PYTHON_VERSION_MAJOR_MINOR}/dist-packages CACHE PATH "Where to install the python packages.")
|
||
|
endif()
|
||
|
endif()
|
||
|
if(CMAKE_HOST_WIN32)
|