Fixes to config.h generation, detect rint()
This commit is contained in:
parent
4914cb0645
commit
324ce8acd7
2 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#cmakedefine HAVE_SYS_TIME_H
|
||||
#cmakedefine HAVE_WINDOWS_H
|
||||
#cmakedefine HAVE_RINT
|
||||
#cmakedefine HAVE_UNISTD_H
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue