Skip to content

Commit

Permalink
fix building without PyQt
Browse files Browse the repository at this point in the history
(cherry picked from commit 18abcb5)
  • Loading branch information
3nids authored and jef-n committed Jan 9, 2019
1 parent 5aed4d7 commit 9a71839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n/CMakeLists.txt
Expand Up @@ -25,7 +25,7 @@ SET(TS_FILES qgis_ar.ts qgis_bg.ts qgis_bs.ts qgis_ca.ts qgis_cs.ts qgis_da.ts q

ADD_TRANSLATION_FILES (QM_FILES ${TS_FILES})

IF (UNIX AND NOT APPLE)
IF (UNIX AND NOT APPLE AND PYQT5_FOUND)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_BINARY_DIR}/org.qgis.qgis.desktop ${CMAKE_BINARY_DIR}/org.qgis.qgis.appdata.xml
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
Expand Down

0 comments on commit 9a71839

Please sign in to comment.