From b560c0e1c4c0bb481cbee3d08ae3c07cfd0f093c Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 7 Apr 2022 15:40:26 +0100 Subject: [PATCH] Installation: no need to install all samples into the ifs_samples dirs --- ifs_samples/grib1/CMakeLists.txt | 3 +-- ifs_samples/grib1_mlgrib2/CMakeLists.txt | 4 ++-- ifs_samples/grib1_mlgrib2_ieee32/CMakeLists.txt | 3 +-- ifs_samples/grib1_mlgrib2_ieee64/CMakeLists.txt | 3 +-- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/ifs_samples/grib1/CMakeLists.txt b/ifs_samples/grib1/CMakeLists.txt index 378c2b3f6..c04dbcb6e 100644 --- a/ifs_samples/grib1/CMakeLists.txt +++ b/ifs_samples/grib1/CMakeLists.txt @@ -6,7 +6,6 @@ list( APPEND ifs_samples_${_basedir} ${CMAKE_CURRENT_SOURCE_DIR}/gg_ml.tmpl ${CMAKE_CURRENT_SOURCE_DIR}/gg_sfc.tmpl ${CMAKE_CURRENT_SOURCE_DIR}/sh_ml.tmpl - ${CMAKE_CURRENT_SOURCE_DIR}/sh_sfc.tmpl - ${ECCODES_SAMPLES_FILES} ) + ${CMAKE_CURRENT_SOURCE_DIR}/sh_sfc.tmpl ) install_samples( ifs_samples_${_basedir} ${_destination_install} ${_destination_build} ) diff --git a/ifs_samples/grib1_mlgrib2/CMakeLists.txt b/ifs_samples/grib1_mlgrib2/CMakeLists.txt index 6ec0486a6..3f1a0e2f5 100644 --- a/ifs_samples/grib1_mlgrib2/CMakeLists.txt +++ b/ifs_samples/grib1_mlgrib2/CMakeLists.txt @@ -6,7 +6,7 @@ list( APPEND ifs_samples_${_basedir} ${CMAKE_CURRENT_SOURCE_DIR}/gg_ml.tmpl ${CMAKE_CURRENT_SOURCE_DIR}/gg_sfc.tmpl ${CMAKE_CURRENT_SOURCE_DIR}/sh_ml.tmpl - ${CMAKE_CURRENT_SOURCE_DIR}/sh_sfc.tmpl - ${ECCODES_SAMPLES_FILES} ) + ${CMAKE_CURRENT_SOURCE_DIR}/sh_sfc.tmpl ) + # ${ECCODES_SAMPLES_FILES} ) install_samples( ifs_samples_${_basedir} ${_destination_install} ${_destination_build} ) diff --git a/ifs_samples/grib1_mlgrib2_ieee32/CMakeLists.txt b/ifs_samples/grib1_mlgrib2_ieee32/CMakeLists.txt index 49fd08333..1becf251b 100644 --- a/ifs_samples/grib1_mlgrib2_ieee32/CMakeLists.txt +++ b/ifs_samples/grib1_mlgrib2_ieee32/CMakeLists.txt @@ -6,7 +6,6 @@ list( APPEND ifs_samples_${_basedir} ${CMAKE_CURRENT_SOURCE_DIR}/gg_ml.tmpl ${CMAKE_CURRENT_SOURCE_DIR}/gg_sfc.tmpl ${CMAKE_CURRENT_SOURCE_DIR}/sh_ml.tmpl - ${CMAKE_CURRENT_SOURCE_DIR}/sh_sfc.tmpl - ${ECCODES_SAMPLES_FILES} ) + ${CMAKE_CURRENT_SOURCE_DIR}/sh_sfc.tmpl ) install_samples( ifs_samples_${_basedir} ${_destination_install} ${_destination_build} ) diff --git a/ifs_samples/grib1_mlgrib2_ieee64/CMakeLists.txt b/ifs_samples/grib1_mlgrib2_ieee64/CMakeLists.txt index 16ec73dba..9f89448a1 100644 --- a/ifs_samples/grib1_mlgrib2_ieee64/CMakeLists.txt +++ b/ifs_samples/grib1_mlgrib2_ieee64/CMakeLists.txt @@ -6,7 +6,6 @@ list( APPEND ifs_samples_${_basedir} ${CMAKE_CURRENT_SOURCE_DIR}/gg_ml.tmpl ${CMAKE_CURRENT_SOURCE_DIR}/gg_sfc.tmpl ${CMAKE_CURRENT_SOURCE_DIR}/sh_ml.tmpl - ${CMAKE_CURRENT_SOURCE_DIR}/sh_sfc.tmpl - ${ECCODES_SAMPLES_FILES} ) + ${CMAKE_CURRENT_SOURCE_DIR}/sh_sfc.tmpl ) install_samples( ifs_samples_${_basedir} ${_destination_install} ${_destination_build} )