From dbfbb78dbd74ac6cb74fc1551de589f1855bb4cb Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sun, 5 Apr 2009 21:10:33 +0200 Subject: Fix install libdir for 64bit platform. --- swig/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'swig') 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) -- cgit v1.1-32-gdbae