summaryrefslogtreecommitdiff
path: root/math/sundials/files/patch-config_SundialsFortran90.cmake
blob: 081d9cbc4dc5395b1eecab00f666bed7c8cba4d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- config/SundialsFortran90.cmake.orig	2017-11-07 23:47:45 UTC
+++ config/SundialsFortran90.cmake
@@ -35,9 +35,9 @@ if(CMAKE_Fortran_COMPILER)
       (NOT "${ENV_FCFLAGS}" STREQUAL "") AND
       ("${CMAKE_Fortran_FLAGS}" STREQUAL ""))
     # check if environment variables are equal
-    IF (NOT "${ENV_FFLAGS}" STREQUAL "${ENV_FCFLAGS}")
-      PRINT_ERROR("FFLAGS='${ENV_FFLAGS}' and FCFLAGS='${ENV_FCFLAGS}' are both set but are not equal.")
-    ENDIF()
+    #IF (NOT "${ENV_FFLAGS}" STREQUAL "${ENV_FCFLAGS}")
+    #  PRINT_ERROR("FFLAGS='${ENV_FFLAGS}' and FCFLAGS='${ENV_FCFLAGS}' are both set but are not equal.")
+    #ENDIF()
   ENDIF()
 
   # Enable the language for next steps