Commit a4310d1c authored by LAMBERT Jean-charles's avatar LAMBERT Jean-charles

fix detect NEMO env

parent af564189
......@@ -14,8 +14,8 @@
# ============================================================================
SET(NEMO_INSTALLED FALSE)
FILE(GLOB GLOB_TEMP_VAR $ENV{NEMO})
IF(GLOB_TEMP_VAR)
IF(NOT $ENV{NEMO} STREQUAL "" )
SET(NEMO_INSTALLED TRUE)
# Detect fortran compiler from ${NEMOLIB}/makedefs
......@@ -60,7 +60,7 @@ IF(GLOB_TEMP_VAR)
SET (FC_G77_LIB g2c)
ENDIF(NOT ${G2CFPATH} STREQUAL "")
ENDIF(GLOB_TEMP_VAR)
ENDIF()
if (NOT NEMO_INSTALLED)
MESSAGE(STATUS "NEMO environement not loaded.... using nemo_light")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment