From 2f362e44a59aef11a9b1c84b4d0da6be172effe1 Mon Sep 17 00:00:00 2001 From: Casey Webster Date: Tue, 17 Nov 2015 15:08:58 +0000 Subject: [PATCH] Reverts a change from check_include_file to files One of the check_include_file checks in ConkyPlatformChecks should not have been changed to check_include_files because the latter takes 2 arguments and this call gives 3 (and doens't work right without the third). --- cmake/ConkyPlatformChecks.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/ConkyPlatformChecks.cmake b/cmake/ConkyPlatformChecks.cmake index a9810887..2bf4c0a9 100644 --- a/cmake/ConkyPlatformChecks.cmake +++ b/cmake/ConkyPlatformChecks.cmake @@ -141,7 +141,7 @@ if(BUILD_MYSQL) endif(BUILD_MYSQL) if(BUILD_WLAN) - check_include_files(iwlib.h IWLIB_H -D_GNU_SOURCE) + check_include_file(iwlib.h IWLIB_H -D_GNU_SOURCE) if(NOT IWLIB_H) message(FATAL_ERROR "Unable to find iwlib.h") endif(NOT IWLIB_H)