~khurshid-alam/indicator-sound/fix-build-hirsuit

« back to all changes in this revision

Viewing changes to tests/CMakeLists.txt

  • Committer: Khurshid Alam
  • Date: 2021-04-17 07:45:19 UTC
  • Revision ID: khurshid.alam@linuxmail.org-20210417074519-ot2msocws1yr0a11
Try 2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
find_package(GMock)
2
2
include_directories(${GMOCK_INCLUDE_DIRS})
3
 
include_directories("${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}/libdbustest-1")
4
3
 
5
4
###########################
6
5
# GSettings Schema
27
26
                    COMMAND cp -f /usr/share/glib-2.0/schemas/com.ubuntu.sound.gschema.xml ${SCHEMA_DIR}
28
27
                    COMMAND ${COMPILE_SCHEMA_EXECUTABLE} ${SCHEMA_DIR})
29
28
 
 
29
add_custom_target (
 
30
             gschemas-compiled ALL DEPENDS gschemas.compiled
 
31
)
 
32
 
30
33
###########################
31
34
# Vala Mocks
32
35
###########################
54
57
        --vapidir=.
55
58
)
56
59
 
57
 
set_source_files_properties(media-player-mock.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-discarded-qualifiers")
58
 
 
59
60
vala_add(vala-mocks
60
61
    media-player-mock.vala
61
62
)