~midori/midori/trunk

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: gue5t
  • Date: 2015-04-19 14:39:09 UTC
  • mto: This revision was merged to the branch mainline in revision 6970.
  • Revision ID: gue5t@midori.launchpad-20150419143909-yfquj43k346k5070
avoid deprecated SoupServer API with libsoup 2.48

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
        set(VALAFLAGS ${VALAFLAGS} -D HAVE_LIBSOUP_2_40_0)
143
143
    endif ()
144
144
endif ()
 
145
if (${DEPS_libsoup-gnome-2.4_VERSION} VERSION_GREATER "2.48.0")
 
146
    add_definitions("-DHAVE_LIBSOUP_2_48_0")
 
147
    set(VALAFLAGS ${VALAFLAGS} -D HAVE_LIBSOUP_2_48_0)
 
148
endif ()
145
149
 
146
150
if (${DEPS_gio-2.0_VERSION} VERSION_GREATER "2.40.0" OR WIN32)
147
151
    add_definitions("-DLIBNOTIFY_VERSION=\"No\"")