Skip to content

Commit

Permalink
Fix PyQt compat lib INSTALL path
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 17, 2015
1 parent 1675703 commit ac44a30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/PyQt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ ENDIF(ENABLE_QT5)

FOREACH(pyfile ${PYQT_COMPAT_FILES})
SET(pyfile ${PYQT_PREFIX}/${pyfile})
LIST(APPEND PYQT_COMPAT_FILES_PREFIXED ${pyfile})
ADD_CUSTOM_COMMAND(TARGET pyqtcompat
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory ${PYTHON_OUTPUT_DIRECTORY}/PyQt
Expand All @@ -32,4 +33,4 @@ FOREACH(pyfile ${PYQT_COMPAT_FILES})
ENDFOREACH(pyfile)
PY_COMPILE(pyqtcompat "${PYTHON_OUTPUT_DIRECTORY}/PyQt")

INSTALL(FILES ${PYQT_COMPAT_FILES} DESTINATION "${QGIS_PYQT_DIR}")
INSTALL(FILES ${PYQT_COMPAT_FILES_PREFIXED} DESTINATION "${QGIS_PYQT_DIR}")

0 comments on commit ac44a30

Please sign in to comment.