~ubuntu-branches/ubuntu/oneiric/cairo-dock-plug-ins/oneiric-updates

« back to all changes in this revision

Viewing changes to Dbus/interfaces/vala/CMakeLists.txt

  • Committer: Kees Cook
  • Date: 2011-08-11 23:17:39 UTC
  • mfrom: (20.1.1 cairo-dock-plug-ins)
  • Revision ID: kees@outflux.net-20110811231739-cteedan51tmdg77v
Tags: 2.4.0~0beta2-0ubuntu1
releasing version 2.4.0~0beta2-0ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
        else()
14
14
                set (VALA_DIR ${CMAKE_CURRENT_BINARY_DIR})
15
15
        endif()
 
16
        if (${VALA_MAJOR} LESS 1 AND ${VALA_MINOR} LESS 13)
 
17
                set (DISABLE_DBUS_TRANSFORMATION "--disable-dbus-transformation")
 
18
        endif()
16
19
        # first, precompile the Vala code into C code.
17
20
        execute_process(COMMAND
18
 
                ${VALAC_EXE} -q -C --disable-warnings --disable-dbus-transformation
 
21
                ${VALAC_EXE} -q -C
 
22
                --disable-warnings ${DISABLE_DBUS_TRANSFORMATION}
19
23
                --pkg gio-2.0
20
24
                --vapi=${VALA_DIR}/src/${CDAPPLET}.vapi
21
25
                --header=${VALA_DIR}/src/${CDAPPLET}.h