~unity-team/unity/4.0

« back to all changes in this revision

Viewing changes to tests/test-get-transients/CMakeLists.txt

MergeĀ lp:~unity-team/unity/unity.minimized_windows_switcher

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
project (test-input-remover)
 
2
 
 
3
include (FindPkgConfig)
 
4
 
 
5
pkg_check_modules (COMPIZ_TEST_GET_TRANSIENTS REQUIRED x11 xext)
 
6
 
 
7
if (COMPIZ_TEST_GET_TRANSIENTS_FOUND)
 
8
        include_directories (${COMPIZ_TEST_GET_TRANSIENTS_INCLUDE_DIRS}
 
9
                             ..
 
10
                             ../../plugins/unityshell/src)
 
11
 
 
12
        link_directories (${COMPIZ_TEST_GET_TRANSIENTS_LINK_DIRS})
 
13
 
 
14
        add_executable (test-get-transients
 
15
                        test-get-transients.cpp
 
16
                        ../../plugins/unityshell/src/transientfor.cpp
 
17
                        ../../plugins/unityshell/src/inputremover.cpp
 
18
                        ../x11-window.cpp
 
19
                        ../x11-window-read-transients.cpp)
 
20
 
 
21
        target_link_libraries (test-get-transients
 
22
                               ${COMPIZ_TEST_GET_TRANSIENTS_LIBRARIES})
 
23
 
 
24
endif (COMPIZ_TEST_GET_TRANSIENTS_FOUND)