Enable fp-exceptions
[alexxy/gromacs.git] / CMakeLists.txt
index a8d7ddb4f925ec3ebdd5ff28bf65ced2d6d3700d..9a075acb25b2ddd1d1d2640b27aad53fea567817 100644 (file)
@@ -348,6 +348,7 @@ check_function_exists(nice              HAVE_NICE)
 include(CheckLibraryExists)
 check_library_exists(m sqrt "" HAVE_LIBM)
 check_library_exists(rt clock_gettime "" HAVE_CLOCK_GETTIME)
+check_library_exists(m feenableexcept "" HAVE_FEENABLEEXCEPT)
 
 include(TestSchedAffinity)
 test_sched_affinity(HAVE_SCHED_AFFINITY)