mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-25 12:10:03 +00:00
Merge pull request #177 from cwebster2/master
Final fix for check_include_file
This commit is contained in:
commit
1abd253470
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user