Skip to content

Commit 18abcb5

Browse files
committedDec 3, 2018
fix building without PyQt
1 parent efd1fd6 commit 18abcb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎i18n/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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
2525

2626
ADD_TRANSLATION_FILES (QM_FILES ${TS_FILES})
2727

28-
IF (UNIX AND NOT APPLE)
28+
IF (UNIX AND NOT APPLE AND PYQT5_FOUND)
2929
ADD_CUSTOM_COMMAND(
3030
OUTPUT ${CMAKE_BINARY_DIR}/org.qgis.qgis.desktop ${CMAKE_BINARY_DIR}/org.qgis.qgis.appdata.xml
3131
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"

0 commit comments

Comments
 (0)
Please sign in to comment.