diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2016-03-02 12:30:26 +0300 |
---|---|---|
committer | Giovanni Panozzo <giovanni@panozzo.it> | 2016-03-05 14:47:26 +0300 |
commit | fd33e382e4439fd4b81aa8f983494f01a55548a4 (patch) | |
tree | 7d929d21a27800b7fc7f8b4e00f04fbda7b4ea71 /remmina | |
parent | 7dcf017b49f63ac475eec1cfad31be4747486461 (diff) |
fixed webkit module search for Linux and FreeBSD
Diffstat (limited to 'remmina')
-rw-r--r-- | remmina/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/remmina/CMakeLists.txt b/remmina/CMakeLists.txt index 3a66e01f9..fb389a2d1 100644 --- a/remmina/CMakeLists.txt +++ b/remmina/CMakeLists.txt @@ -117,13 +117,18 @@ include_directories(${GTK_INCLUDE_DIRS}) target_link_libraries(remmina ${GTK_LIBRARIES}) # either of webkitpackages would do -pkg_check_modules(WEBKIT2 REQUIRED +pkg_search_module(WEBKIT2 REQUIRED webkit2gtk-4.0 webkit2gtk-3.0 ) include_directories( ${WEBKIT2_INCLUDE_DIRS} ) +if(WEBKIT2_FOUND) + message(STATUS "Found Webkit2gtk ${WEBKIT2_VERSION}") +else() + message(ERROR "Weki2gtk-4.0 is required") +endif() link_directories( ${WEBKIT2_LIBRARY_DIRS} ) |