File: CMakeLists.txt

package info (click to toggle)
limesuite 18.06.0+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 24,728 kB
  • sloc: cpp: 154,989; ansic: 6,823; python: 140; sh: 50; makefile: 32
file content (24 lines) | stat: -rw-r--r-- 1,210 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
########################################################################
## Feature registration
########################################################################
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
    set(LINUX TRUE)
endif()
set(ANY_ARCH TRUE)

include(FeatureSummary)
include(CMakeDependentOption)
cmake_dependent_option(ENABLE_DESKTOP "Enable LimeSuite launcher and icons" ON "ANY_ARCH" OFF)
add_feature_info(LimeSuiteDesktop ENABLE_DESKTOP "LimeSuite freedesktop integration")
if (NOT ENABLE_DESKTOP)
    return()
endif()

install(FILES lime-suite-16.png  DESTINATION share/icons/hicolor/16x16/apps   RENAME lime-suite.png)
install(FILES lime-suite-22.png  DESTINATION share/icons/hicolor/22x22/apps   RENAME lime-suite.png)
install(FILES lime-suite-32.png  DESTINATION share/icons/hicolor/32x32/apps   RENAME lime-suite.png)
install(FILES lime-suite-48.png  DESTINATION share/icons/hicolor/48x48/apps   RENAME lime-suite.png)
install(FILES lime-suite-64.png  DESTINATION share/icons/hicolor/64x64/apps   RENAME lime-suite.png)
install(FILES lime-suite-128.png DESTINATION share/icons/hicolor/128x128/apps RENAME lime-suite.png)

install(FILES lime-suite.desktop DESTINATION share/applications)