Compilation fixes for more recent compilers

This commit is contained in:
Guilhem Lavaux 2021-04-15 15:49:40 +02:00
parent f7df64c768
commit d8c321232d
3 changed files with 34 additions and 2 deletions

View file

@ -6,7 +6,8 @@ OPTION(SDF_SUPPORT "Set to Yes to activate support for SDF" ON)
IF(ENABLE_OPENMP)
IF (NOT OPENMP_FOUND)
MESSAGE(FATAL_ERROR "No known compiler option for enabling OpenMP")
MESSAGE(WARNING "No known compiler option for enabling OpenMP")
SET(ENABLE_OPENMP FALSE)
ENDIF(NOT OPENMP_FOUND)
ENDIF(ENABLE_OPENMP)