diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e4ce268a..7a7058600 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,19 +90,18 @@ else() set( HAVE_FORTRAN 0 ) endif() -# memfs - +# memfs requires only Python executable and not its libraries ecbuild_add_option( FEATURE MEMFS DESCRIPTION "Memory based access to definitions/samples" DEFAULT OFF CONDITION EC_HAVE_FMEMOPEN OR EC_HAVE_FUNOPEN - REQUIRED_PACKAGES "Python VERSION 2.6" + REQUIRED_PACKAGES "Python VERSION 2.6 NO_LIBS" ) -if( HAVE_MEMFS AND "${CMAKE_C_COMPILER_ID}" STREQUAL "Cray") - set( HAVE_MEMFS OFF ) - ecbuild_warn("MEMFS not supported with Cray C compiler") -endif() +#if( HAVE_MEMFS AND "${CMAKE_C_COMPILER_ID}" STREQUAL "Cray") +# set( HAVE_MEMFS OFF ) +# ecbuild_warn("MEMFS not supported with Cray C compiler") +#endif() # advanced options (not visible in cmake-gui )