From 5709097015fe4b8e11867244b571045a612385ff Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Fri, 27 Mar 2009 19:24:27 +0100 Subject: Fix Python binding install. --- swig/CMakeLists.txt | 6 +++--- 1 file 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/ ) -- cgit v1.1-32-gdbae