1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 18:45:10 +00:00

Merge pull request #177 from cwebster2/master

Final fix for check_include_file
This commit is contained in:
Brenden Matthews 2015-12-01 15:53:39 -08:00
commit 1abd253470

View File

@ -141,7 +141,8 @@ if(BUILD_MYSQL)
endif(BUILD_MYSQL)
if(BUILD_WLAN)
check_include_file(iwlib.h IWLIB_H -D_GNU_SOURCE)
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
check_include_files(iwlib.h IWLIB_H)
if(NOT IWLIB_H)
message(FATAL_ERROR "Unable to find iwlib.h")
endif(NOT IWLIB_H)