From 863fa233a00b0b0e6755a7e56396156cd0e7d55e Mon Sep 17 00:00:00 2001 From: "dominique.leuenberger@gmail.com" Date: Tue, 29 Mar 2011 18:38:35 +0000 Subject: Build: Add option to link against libwebkit-gtk3. CMake option "WITH_WEBKIT3" git-svn-id: http://libproxy.googlecode.com/svn/trunk@793 c587cffe-e639-0410-9787-d7902ae8ed56 --- libproxy/cmake/modules/pacrunner_webkit.cmk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libproxy') diff --git a/libproxy/cmake/modules/pacrunner_webkit.cmk b/libproxy/cmake/modules/pacrunner_webkit.cmk index e5f485e..7b29c4a 100644 --- a/libproxy/cmake/modules/pacrunner_webkit.cmk +++ b/libproxy/cmake/modules/pacrunner_webkit.cmk @@ -12,5 +12,9 @@ elseif(APPLE) set(WEBKIT_FOUND 1) endif() else() - px_check_modules(WEBKIT webkit-1.0) -endif() \ No newline at end of file + if(WITH_WEBKIT3) + px_check_modules(WEBKIT webkitgtk-3.0) + else() + px_check_modules(WEBKIT webkit-1.0) + endif() +endif() -- cgit v1.2.1