diff options
author | Michael Jansen <kde@michael-jansen.biz> | 2010-06-24 20:43:06 +0000 |
---|---|---|
committer | Michael Jansen <kde@michael-jansen.biz> | 2010-06-24 20:43:06 +0000 |
commit | 65bce8b61f24033d79d14f21b975cc18cbfcb2b7 (patch) | |
tree | f5963a6fcfbdc9684fd79820e1d8cfeb9900b48e | |
parent | ae8fa5c09c8d92d87a32ec910cddd33c46f753fa (diff) | |
download | extra-cmake-modules-65bce8b61f24033d79d14f21b975cc18cbfcb2b7.tar.gz extra-cmake-modules-65bce8b61f24033d79d14f21b975cc18cbfcb2b7.tar.bz2 |
Make PYTHON_SITE_PACKAGES_INSTALL_DIR honor LIB_SUFFIX.
svn path=/trunk/KDE/kdelibs/; revision=1142400
-rw-r--r-- | modules/FindPythonLibrary.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/FindPythonLibrary.cmake b/modules/FindPythonLibrary.cmake index 7b4b9538..141037fc 100644 --- a/modules/FindPythonLibrary.cmake +++ b/modules/FindPythonLibrary.cmake @@ -60,7 +60,7 @@ else(EXISTS PYTHON_LIBRARY) set(PYTHON_SITE_PACKAGES_DIR "${_TMP_PYTHON_SITE_PACKAGES_DIR}" CACHE PATH "The python site packages dir" FORCE) # This one is intended to be used and changed by the user for installing own modules: - set(PYTHON_SITE_PACKAGES_INSTALL_DIR lib/python${PYTHON_SHORT_VERSION}/site-packages CACHE PATH "The directory where python modules will be installed to.") + set(PYTHON_SITE_PACKAGES_INSTALL_DIR lib${LIB_SUFFIX}/python${PYTHON_SHORT_VERSION}/site-packages CACHE PATH "The directory where python modules will be installed to.") string(REGEX REPLACE "([0-9]+).([0-9]+)" "\\1\\2" PYTHON_SHORT_VERSION_NO_DOT ${PYTHON_SHORT_VERSION}) set(PYTHON_LIBRARY_NAMES python${PYTHON_SHORT_VERSION} python${PYTHON_SHORT_VERSION_NO_DOT}) |