cmake: detect availability of powf()
This commit is contained in:
parent
b49357024b
commit
ded90344f4
@ -47,6 +47,9 @@ if(NOT BUILD_STRICT_C90)
|
||||
# Have strtof() ?
|
||||
check_function_exists(strtof GMIO_HAVE_STRTOF_FUNC)
|
||||
|
||||
# Have powf() ?
|
||||
check_function_exists(powf GMIO_HAVE_POWF_FUNC)
|
||||
|
||||
# Have <stdbool.h> ?
|
||||
check_include_files(stdbool.h GMIO_HAVE_STDBOOL_H)
|
||||
endif()
|
||||
|
@ -21,6 +21,7 @@
|
||||
#cmakedefine GMIO_HAVE_STDINT_H
|
||||
#cmakedefine GMIO_HAVE_STDBOOL_H
|
||||
#cmakedefine GMIO_HAVE_STRTOF_FUNC
|
||||
#cmakedefine GMIO_HAVE_POWF_FUNC
|
||||
|
||||
#cmakedefine GMIO_HAVE_GCC_BUILTIN_BSWAP16_FUNC
|
||||
#cmakedefine GMIO_HAVE_GCC_BUILTIN_BSWAP32_FUNC
|
||||
|
Loading…
Reference in New Issue
Block a user