Skip to content
Snippets Groups Projects
Commit 3996f19d authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

use c99 standard on Android to have ismin/isinf in std::

parent 52f82e0f
No related branches found
No related tags found
No related merge requests found
...@@ -338,6 +338,8 @@ if(ENABLE_BLAS_LAPACK) ...@@ -338,6 +338,8 @@ if(ENABLE_BLAS_LAPACK)
list(APPEND EXTERNAL_LIBRARIES ${LAPACK_LIB}) list(APPEND EXTERNAL_LIBRARIES ${LAPACK_LIB})
set_config_option(HAVE_LAPACK "Lapack") set_config_option(HAVE_LAPACK "Lapack")
endif(LAPACK_LIB) endif(LAPACK_LIB)
# for isnan/isinf
add_definitions(-D_GLIBCXX_USE_C99_MATH=1)
endif(ENABLE_BUILD_ANDROID) endif(ENABLE_BUILD_ANDROID)
if(NOT HAVE_BLAS OR NOT HAVE_LAPACK) if(NOT HAVE_BLAS OR NOT HAVE_LAPACK)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment