Ticket #52404: patch-cmakelists-enable-webkit2-gtk.diff
File patch-cmakelists-enable-webkit2-gtk.diff, 1.0 KB (added by kencu (Ken), 6 years ago) |
---|
-
CMakeLists.txt
old new 199 199 gnc_pkg_check_modules (LIBXML2 REQUIRED libxml-2.0>=2.7.0) 200 200 gnc_pkg_check_modules (LIBXSLT REQUIRED libxslt) 201 201 if (WITH_GNUCASH) 202 if (WIN32 OR APPLE)202 if (WIN32) 203 203 gnc_pkg_check_modules (WEBKIT1 REQUIRED webkitgtk-3.0) 204 204 set(WEBKIT1 1) 205 205 set(WEBKIT_CFLAGS ${WEBKIT2_CFLAGS}) 206 206 set(WEBKIT_INCLUDE_DIRS ${WEBKIT1_INCLUDE_DIRS}) 207 207 set(WEBKIT_LDFLAGS ${WEBKIT1_LDFLAGS}) 208 208 set(WEBKIT_LIBRARIES ${WEBKIT1_LIBRARIES}) 209 else (WIN32 OR APPLE)209 else (WIN32) 210 210 gnc_pkg_check_modules (WEBKIT2_4 webkit2gtk-4.0) 211 211 if (NOT WEBKIT2_4_FOUND) 212 212 gnc_pkg_check_modules (WEBKIT2_3 REQUIRED webkit2gtk-3.0) … … 222 222 set(WEBKIT_LDFLAGS ${WEBKIT2_4_LDFLAGS}) 223 223 set(WEBKIT_LIBRARIES ${WEBKIT2_4_LIBRARIES}) 224 224 endif (NOT WEBKIT2_4_FOUND) 225 endif (WIN32 OR APPLE)225 endif (WIN32) 226 226 227 227 gnc_pkg_check_modules (GTK3 REQUIRED gtk+-3.0>=3.10.0) 228 228 endif (WITH_GNUCASH)