Skip to content

Commit

Permalink
[Packaging] install icons / appdata / desktop file on BSDs too
Browse files Browse the repository at this point in the history
  • Loading branch information
landryb authored and nyalldawson committed Nov 10, 2018
1 parent 84814c9 commit 046a20e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -925,6 +925,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)
4 changes: 2 additions & 2 deletions 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 (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}"
Expand All @@ -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
Expand Down

0 comments on commit 046a20e

Please sign in to comment.