summaryrefslogtreecommitdiffstats
path: root/swig
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-04-05 21:10:33 +0200
committerGravatar Jonathan Beck2009-04-05 21:10:33 +0200
commitdbfbb78dbd74ac6cb74fc1551de589f1855bb4cb (patch)
tree2112761184b7e000739fd9c46a87716fda61c4c7 /swig
parentb9d27ab3b3fb0b3b5cc2b5f9cdccb4311a9ea7bd (diff)
downloadlibplist-dbfbb78dbd74ac6cb74fc1551de589f1855bb4cb.tar.gz
libplist-dbfbb78dbd74ac6cb74fc1551de589f1855bb4cb.tar.bz2
Fix install libdir for 64bit platform.
Diffstat (limited to 'swig')
-rw-r--r--swig/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/swig/CMakeLists.txt b/swig/CMakeLists.txt
index 5867b20..030333f 100644
--- a/swig/CMakeLists.txt
+++ b/swig/CMakeLists.txt
@@ -8,9 +8,9 @@ SWIG_ADD_MODULE( PList python plist.i )
SWIG_LINK_LIBRARIES( PList plist ${PYTHON_LIBRARIES} )
INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/_PList${CMAKE_SHARED_MODULE_SUFFIX}
- DESTINATION lib/python${PYTHON_VERSION}/site-packages/libplist/ )
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION}/site-packages/libplist/ )
INSTALL( FILES ${CMAKE_CURRENT_SOURCE_DIR}/__init__.py
- DESTINATION lib/python${PYTHON_VERSION}/site-packages/libplist/ )
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION}/site-packages/libplist/ )
INSTALL( FILES ${CMAKE_CURRENT_SOURCE_DIR}/plist.i
DESTINATION include/plist/swig COMPONENT dev)