~midori/midori/trunk

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: RabbitBot
  • Author(s): gue5t
  • Date: 2015-06-13 17:03:38 UTC
  • mfrom: (6937.4.1 soupserver-deprecation)
  • Revision ID: rabbitbot-20150613170338-t9ndekqcje9hwofy
avoid deprecated SoupServer API with libsoup 2.48

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
        set(VALAFLAGS ${VALAFLAGS} -D HAVE_LIBSOUP_2_40_0)
133
133
    endif ()
134
134
endif ()
 
135
if (${DEPS_libsoup-gnome-2.4_VERSION} VERSION_GREATER "2.48.0")
 
136
    add_definitions("-DHAVE_LIBSOUP_2_48_0")
 
137
    set(VALAFLAGS ${VALAFLAGS} -D HAVE_LIBSOUP_2_48_0)
 
138
endif ()
135
139
 
136
140
if (${DEPS_gio-2.0_VERSION} VERSION_GREATER "2.40.0" OR WIN32)
137
141
    add_definitions("-DLIBNOTIFY_VERSION=\"No\"")