1
0
Fork 0

Fixes to config.h generation, detect rint()

This commit is contained in:
James Turner 2011-11-02 19:09:30 +00:00
parent 4914cb0645
commit 324ce8acd7
2 changed files with 4 additions and 0 deletions

View file

@ -82,6 +82,8 @@ check_include_file(unistd.h HAVE_UNISTD_H)
check_include_file(sys/time.h HAVE_SYS_TIME_H)
check_include_file(windows.h HAVE_WINDOWS_H)
check_function_exists (rint HAVE_RINT)
set(PKGDATADIR ${CMAKE_INSTALL_PREFIX}/share/TerraGear)
if(CMAKE_COMPILER_IS_GNUCXX)

View file

@ -1,4 +1,6 @@
#cmakedefine HAVE_SYS_TIME_H
#cmakedefine HAVE_WINDOWS_H
#cmakedefine HAVE_RINT
#cmakedefine HAVE_UNISTD_H