ECC-540: MEMFS by default does not trigger installation of samples and definitions

This commit is contained in:
Tiago Quintino 2017-09-06 11:16:26 +01:00
parent 43fc1118aa
commit cffb4e03af
1 changed files with 5 additions and 0 deletions

View File

@ -104,6 +104,11 @@ ecbuild_add_option( FEATURE MEMFS
# ecbuild_warn("MEMFS not supported with Cray C compiler") # ecbuild_warn("MEMFS not supported with Cray C compiler")
#endif() #endif()
if(HAVE_MEMFS)
set( _will_install_defs_samples OFF )
else()
set( _will_install_defs_samples ON )
endif()
# controls installation of files in definitions/ -- note that it still creates the symlinks in the build dir # controls installation of files in definitions/ -- note that it still creates the symlinks in the build dir
# by default, if memfs is available, then we don't need to install definitions # by default, if memfs is available, then we don't need to install definitions