thanks for your time :)
I managed to solve the problem. Thanks for your reply again.
On Sat, Jun 25, 2016 at 5:50 PM, Jakob van Bethlehem <
jsvanbethle...@gmail.com> wrote:
> Hej,
>
> According to
> https://cmake.org/cmake/help/v3.4/module/CheckIncludeFile.html the
> ‘check_include_file’ is a fun
Hej,
According to https://cmake.org/cmake/help/v3.4/module/CheckIncludeFile.html the
‘check_include_file’ is a function provided by a module. So you’ll need to
include(CheckIncludeFile) at the beginning of your lists-file
Sincerely,
Jakob
> On 25 Jun 2016, at 08:09, Hgfjj Hhjgf wrote:
>
> I
I am trying to use an external library (GeoIP). CMake list contains:
message(STATUS "Looking for MaxMind GeoIP header files")
set(CMAKE_INCLUDE_PATH "${CMAKE_INCLUDE_PATH} ${GEOIP_INCLUDE_DIR}")
check_include_file("GeoIP.h" HAVE_GEOIP_H)
check_include_file("GeoIPCity.h" HAVE_GEOIPCITY_H)
if (HAVE