From 1a5dba9aaaf1327645dc1a128aa661d5071c6ef9 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Fri, 27 Feb 2015 23:47:14 +0100 Subject: [PATCH] Revert "Look for gio when searching for libsoup with CMake." This reverts commit 78a4bc737e9ba029024418bb4a4d8f7f61d69b42. --- cmake/FindSoup.cmake | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/cmake/FindSoup.cmake b/cmake/FindSoup.cmake index a3951e7f0..82735a317 100644 --- a/cmake/FindSoup.cmake +++ b/cmake/FindSoup.cmake @@ -40,16 +40,8 @@ find_path(SOUP_INCLUDE_DIRS ) if(SOUP_INCLUDE_DIRS) - find_path(GIO_INCLUDE_DIRS - NAMES gio/gio.h - HINTS _SOUP_ROOT_PATHS - PATH_SUFFIXES include/glib-2.0 - ) - - if(GIO_INCLUDE_DIRS) - set(HAVE_LIBSOUP_SOUP_H 1) - list(APPEND SOUP_INCLUDE_DIRS ${GIO_INCLUDE_DIRS} ${GTK2_INCLUDE_DIRS}) - endif() + set(HAVE_LIBSOUP_SOUP_H 1) + list(APPEND SOUP_INCLUDE_DIRS ${GTK2_INCLUDE_DIRS}) endif() find_library(SOUP_LIBRARIES @@ -59,15 +51,7 @@ find_library(SOUP_LIBRARIES ) if(SOUP_LIBRARIES) - find_library(GIO_LIBRARIES - NAMES gio-2.0 - HINTS ${_SOUP_ROOT_PATHS} - PATH_SUFFIXES bin lib - ) - - if(GIO_LIBRARIES) - list(APPEND SOUP_LIBRARIES ${GIO_LIBRARIES} ${GTK2_LIBRARIES}) - endif() + list(APPEND SOUP_LIBRARIES ${GTK2_LIBRARIES}) endif() include(FindPackageHandleStandardArgs)