From 91585fcdc2e3b3b56d0c29556459b7d2bca3c30d Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 11 Jul 2016 16:29:33 +0100 Subject: [PATCH] MEMFS: Do not require Python libs, only the executable --- CMakeLists.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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 )