diff --git a/ifs_samples/grib1/CMakeLists.txt b/ifs_samples/grib1/CMakeLists.txt index 9a8b4e9a2..42f9ea257 100644 --- a/ifs_samples/grib1/CMakeLists.txt +++ b/ifs_samples/grib1/CMakeLists.txt @@ -1,5 +1,5 @@ set( _basedir grib1 ) -set( _destination_install ${CMAKE_INSTALL_PREFIX}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} ) +set( _destination_install ${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} ) set( _destination_build ${CMAKE_BINARY_DIR}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} ) list( APPEND ifs_samples_${_basedir} diff --git a/ifs_samples/grib1_mlgrib2/CMakeLists.txt b/ifs_samples/grib1_mlgrib2/CMakeLists.txt index c28663cf5..5b597ce7b 100644 --- a/ifs_samples/grib1_mlgrib2/CMakeLists.txt +++ b/ifs_samples/grib1_mlgrib2/CMakeLists.txt @@ -1,5 +1,5 @@ set( _basedir grib1_mlgrib2 ) -set( _destination_install ${CMAKE_INSTALL_PREFIX}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} ) +set( _destination_install ${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} ) set( _destination_build ${CMAKE_BINARY_DIR}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} ) list( APPEND ifs_samples_${_basedir} diff --git a/ifs_samples/grib1_mlgrib2_ieee64/CMakeLists.txt b/ifs_samples/grib1_mlgrib2_ieee64/CMakeLists.txt index c041dc3b2..efffb7446 100644 --- a/ifs_samples/grib1_mlgrib2_ieee64/CMakeLists.txt +++ b/ifs_samples/grib1_mlgrib2_ieee64/CMakeLists.txt @@ -1,5 +1,5 @@ set( _basedir grib1_mlgrib2_ieee64 ) -set( _destination_install ${CMAKE_INSTALL_PREFIX}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} ) +set( _destination_install ${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} ) set( _destination_build ${CMAKE_BINARY_DIR}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} ) list( APPEND ifs_samples_${_basedir}