conversion to cmake building system #2

Merged
SlavekB merged 1 commits from feat/cmakeConv into master 6 years ago

@ -20,7 +20,9 @@ set( VERSION R14.1.0 )
include( FindPkgConfig )
include( CheckIncludeFile )
include( CheckIncludeFiles )
include( CheckLibraryExists )
include( CheckFunctionExists )
include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )

@ -33,4 +33,10 @@ endif( WITH_GCC_VISIBILITY )
check_include_file( "sys/select.h" HAVE_SYS_SELECT_H )
check_include_file( "sys/time.h" HAVE_SYS_TIME_H )
check_include_file( "time.h" TIME_WITH_SYS_TIME )
check_include_files( "sys/time.h;time.h" TIME_WITH_SYS_TIME )
#### check for functions
check_function_exists( strtoll HAVE_STRTOLL )

@ -13,8 +13,8 @@
// Defined to 1 if you have 'sys/select.h' header
#cmakedefine HAVE_SYS_SELECT_H 1
// Defined to 1 if you have 'time.h' header
// Defined to 1 if 'time.h' header can be included together with 'sys/time.h'
#cmakedefine TIME_WITH_SYS_TIME 1
// We should have 'strtol, strtoll' in stdlib.h header or in cstdlib with c++
#define HAVE_STRTOLL 1
#cmakedefine HAVE_STRTOLL 1

Loading…
Cancel
Save