From a2b34a0569a41b6a0c04c454b7e730452d5d1ebc Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Mon, 27 Feb 2012 22:33:47 +0100 Subject: [PATCH] Include CheckFunctionExists explicitly Seems to be included transitively not in all configurations. Also fix capitalization of the call to adhere to our cmake style. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 291e21c2..98999156 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,7 @@ project(QuasselIRC) +include(CheckFunctionExists) include(CheckIncludeFile) # cmake 2.6.2 is required for KDE >=4.2 and should be widespread enough now @@ -398,7 +399,7 @@ if(HAVE_INDICATEQT) add_definitions(-DXDG_APPS_INSTALL_DIR=${XDG_APPS_INSTALL_DIR}) endif(HAVE_INDICATEQT) -CHECK_FUNCTION_EXISTS(umask HAVE_UMASK) +check_function_exists(umask HAVE_UMASK) if(HAVE_UMASK) add_definitions(-DHAVE_UMASK) endif(HAVE_UMASK) -- 2.20.1