~feng-kylin/unity8/OpenUrlInIndicator

« back to all changes in this revision

Viewing changes to src/Panel/Indicators/client/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Nick Dedekind, Launchpad Translations on behalf of unity-team
  • Date: 2013-07-11 19:50:27 UTC
  • mfrom: (2.5.114 indicators-client)
  • Revision ID: tarmac-20130711195027-yheu3w2oc42c1h7s
Moved indicators-client code into unity8. Fixes: https://bugs.launchpad.net/bugs/1191132, https://bugs.launchpad.net/bugs/1191822.

Approved by PS Jenkins bot, Michał Sawicz, Nicolas d'Offay.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
project(indicators_client)
 
2
set(INDICATORS_CLIENT_APP indicators-client)
 
3
 
 
4
set(INDICATORS_CLIENT_SRC
 
5
    main.cpp
 
6
    indicatorsclient.cpp
 
7
)
 
8
 
 
9
set(INDICATORS_CLIENT_HEADERS
 
10
    indicatorsclient.h
 
11
)
 
12
add_executable(${INDICATORS_CLIENT_APP}
 
13
    ${INDICATORS_CLIENT_SRC}
 
14
    ${INDICATORS_CLIENT_HEADERS}
 
15
)
 
16
 
 
17
include_directories(
 
18
    ${CMAKE_BINARY_DIR}
 
19
)
 
20
 
 
21
qt5_use_modules(${INDICATORS_CLIENT_APP} Core Widgets Quick)
 
22
set_target_properties(${INDICATORS_CLIENT_APP} PROPERTIES COMPILE_FLAGS -fPIC)
 
23
 
 
24
install(TARGETS ${INDICATORS_CLIENT_APP}
 
25
        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})