~unity-team/unity8/fix-1238232

« back to all changes in this revision

Viewing changes to tests/plugins/Unity/Indicators/CMakeLists.txt

  • Committer: Michael Terry
  • Author(s): Nick Dedekind
  • Date: 2013-10-11 16:06:27 UTC
  • mfrom: (411.5.6 lp1236249)
  • Revision ID: michael.terry@canonical.com-20131011160627-djmnbt9igvrkmkoa
Only use the root action state as a unitymenumodel ActionStateParser when needed.

Approved by Michael Terry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
pkg_check_modules(QMENUMODEL REQUIRED qmenumodel)
 
2
 
1
3
include_directories(
2
4
    ${CMAKE_CURRENT_BINARY_DIR}
3
5
    ${CMAKE_CURRENT_SOURCE_DIR}/../../../../plugins/Unity/Indicators
 
6
    ${QMENUMODEL_INCLUDE_DIRS}
4
7
    )
5
8
 
6
9
macro(run_tests)
16
19
        qt5_use_modules(${_test}Exec Test Core Qml)
17
20
        target_link_libraries(${_test}Exec
18
21
            IndicatorsQml
 
22
            ${QMENUMODEL_LDFLAGS}
19
23
            )
20
24
        set(_test_list "${_test_list};${_test}")
21
25
    endforeach()
25
29
    indicatorsmanagertest
26
30
    indicatorsmodeltest
27
31
    menucontentactivatortest
 
32
    rootactionstatetest
28
33
    )