summaryrefslogtreecommitdiffstats
path: root/swig
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-03-27 19:24:27 +0100
committerGravatar Jonathan Beck2009-03-27 19:24:27 +0100
commit5709097015fe4b8e11867244b571045a612385ff (patch)
treec48c19456a18c5fd9ef9e57f1377d3abc374413b /swig
parenta5cf824688653d5c4d5a993ae0fb7b39b983057b (diff)
downloadlibplist-5709097015fe4b8e11867244b571045a612385ff.tar.gz
libplist-5709097015fe4b8e11867244b571045a612385ff.tar.bz2
Fix Python binding install.
Diffstat (limited to 'swig')
-rw-r--r--swig/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/swig/CMakeLists.txt b/swig/CMakeLists.txt
index 6039feb..bb4a9c3 100644
--- a/swig/CMakeLists.txt
+++ b/swig/CMakeLists.txt
@@ -8,7 +8,7 @@ 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/ )
-INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/__init__.py
- DESTINATION lib/python${PYTHON_VERSION}/site-packages/ )
+ DESTINATION lib/python${PYTHON_VERSION}/site-packages/libplist/ )
+INSTALL( FILES ${CMAKE_CURRENT_SOURCE_DIR}/__init__.py
+ DESTINATION lib/python${PYTHON_VERSION}/site-packages/libplist/ )