Skip to content
Permalink
Browse files

[Packaging] install icons / appdata / desktop file on BSDs too

(cherry picked from commit 046a20e)
  • Loading branch information
landryb authored and jef-n committed Oct 29, 2018
1 parent a50f76f commit 7c9429ae47cd74de075aee588a03aeef90dbcd3a
Showing with 4 additions and 4 deletions.
  1. +2 −2 CMakeLists.txt
  2. +2 −2 i18n/CMakeLists.txt
@@ -932,6 +932,6 @@ IF (WITH_CORE)
INCLUDE(CPack)
ENDIF (WITH_CORE)

IF (CMAKE_SYSTEM_NAME STREQUAL "Linux")
IF (UNIX AND NOT APPLE)
ADD_SUBDIRECTORY(linux)
ENDIF (CMAKE_SYSTEM_NAME STREQUAL "Linux")
ENDIF (UNIX AND NOT APPLE)
@@ -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 (CMAKE_SYSTEM_NAME STREQUAL "Linux")
IF (UNIX AND NOT APPLE)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_BINARY_DIR}/org.qgis.qgis.desktop ${CMAKE_BINARY_DIR}/org.qgis.qgis.appdata.xml
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
@@ -39,7 +39,7 @@ IF (CMAKE_SYSTEM_NAME STREQUAL "Linux")

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 (CMAKE_SYSTEM_NAME STREQUAL "Linux")
ENDIF (UNIX AND NOT APPLE)

# creating a custom target is needed to make the files build
# "ALL" means that it will be run by default

0 comments on commit 7c9429a

Please sign in to comment.
You can’t perform that action at this time.