Skip to content

Commit

Permalink
add library dependencies to python bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed May 22, 2014
1 parent 6b1c7c7 commit 59a8cb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/PyQt4Macros.cmake
Expand Up @@ -38,6 +38,7 @@ MACRO(PYQT4_WRAP_UI outfiles )
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${PYUIC4_WRAPPER} "${PYUIC4_PROGRAM}" "${PYUIC4_WRAPPER_PATH}" "${QGIS_OUTPUT_DIRECTORY}/python" ${infile} -o ${outfile}
MAIN_DEPENDENCY ${infile}
DEPENDS pygui pycore
)
SET(${outfiles} ${${outfiles}} ${outfile})
ENDFOREACH(it)
Expand Down
1 change: 1 addition & 0 deletions python/CMakeLists.txt
Expand Up @@ -241,6 +241,7 @@ ENDFOREACH(pyfile)

FOREACH(module core gui analysis networkanalysis)
ADD_CUSTOM_TARGET(py${module} ALL)
ADD_DEPENDENCIES(py${module} python_module_qgis__${module})
FILE(GLOB_RECURSE PY_FILES "${module}/*.py")
INSTALL(FILES ${PY_FILES} DESTINATION "${QGIS_PYTHON_DIR}/${module}")
FOREACH(pyfile ${PY_FILES})
Expand Down

0 comments on commit 59a8cb4

Please sign in to comment.