diff options
author | Jonathan Beck | 2009-03-27 19:24:27 +0100 |
---|---|---|
committer | Jonathan Beck | 2009-03-27 19:24:27 +0100 |
commit | 5709097015fe4b8e11867244b571045a612385ff (patch) | |
tree | c48c19456a18c5fd9ef9e57f1377d3abc374413b /swig/CMakeLists.txt | |
parent | a5cf824688653d5c4d5a993ae0fb7b39b983057b (diff) | |
download | libplist-5709097015fe4b8e11867244b571045a612385ff.tar.gz libplist-5709097015fe4b8e11867244b571045a612385ff.tar.bz2 |
Fix Python binding install.
Diffstat (limited to 'swig/CMakeLists.txt')
-rw-r--r-- | swig/CMakeLists.txt | 6 |
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/ ) |