diff --git a/i18n/CMakeLists.txt b/i18n/CMakeLists.txt index cc4a605ca62..ad56dc982aa 100644 --- a/i18n/CMakeLists.txt +++ b/i18n/CMakeLists.txt @@ -39,7 +39,7 @@ IF (UNIX AND NOT APPLE AND PYQT5_FOUND) INSTALL(FILES ${CMAKE_BINARY_DIR}/org.qgis.qgis.desktop DESTINATION share/applications) INSTALL(FILES ${CMAKE_BINARY_DIR}/org.qgis.qgis.appdata.xml DESTINATION share/metainfo) -ENDIF (UNIX AND NOT APPLE) +ENDIF (UNIX AND NOT APPLE AND PYQT5_FOUND) # creating a custom target is needed to make the files build # "ALL" means that it will be run by default