Skip to content
Permalink
Browse files

fix pyspatialite import running QGIS from output dir (fix #7899)

  • Loading branch information
brushtyler committed May 25, 2013
1 parent 2e89e25 commit 9f26f78ea7497cdf30e29c9d486f85eb81cced56
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/pyspatialite/CMakeLists.txt
@@ -63,7 +63,7 @@ ENDIF (WIN32)
FOREACH(file lib/__init__.py lib/dbapi2.py lib/dump.py)
ADD_CUSTOM_COMMAND(TARGET pyspatialite
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy ${file} ${PYTHON_OUTPUT_DIRECTORY}/pyspatialite/${file}
COMMAND ${CMAKE_COMMAND} -E copy ${file} ${PYTHON_OUTPUT_DIRECTORY}/pyspatialite/
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
ENDFOREACH(file)

0 comments on commit 9f26f78

Please sign in to comment.
You can’t perform that action at this time.