From 53270231c99dead6c498adaaa249433ad012179c Mon Sep 17 00:00:00 2001 From: HanzZ Date: Fri, 20 May 2011 10:21:18 +0200 Subject: [PATCH] Do not require libpurple --- CMakeLists.txt | 2 +- cmake_modules/glibConfig.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 40f3344a..746b48ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ set(purple_DIR "${CMAKE_SOURCE_DIR}/cmake_modules") find_package(purple) set(glib_DIR "${CMAKE_SOURCE_DIR}/cmake_modules") -find_package(glib REQUIRED) +find_package(glib) set(event_DIR "${CMAKE_SOURCE_DIR}/cmake_modules") find_package(event) diff --git a/cmake_modules/glibConfig.cmake b/cmake_modules/glibConfig.cmake index bf9ac6e3..916e30e0 100644 --- a/cmake_modules/glibConfig.cmake +++ b/cmake_modules/glibConfig.cmake @@ -30,7 +30,7 @@ find_path(GLIB2_INTERNAL_INCLUDE_DIR glibconfig.h if(GLIB2_THREAD) set(GLIB2_LIBRARIES ${GLIB2_LIBRARIES} ${GLIB2_THREAD}) else(GLIB2_THREAD) - message( FATAL_ERROR "Could NOT find gthread-2.0" ) + message( STATUS "Could NOT find gthread-2.0" ) endif(GLIB2_THREAD)