if( @PNAME@_IS_BUILD_DIR_EXPORT )
  set( ECCODES_DEFINITION_PATH  @CMAKE_BINARY_DIR@/@ECCODES_DEFINITION_SUFF@ )
  set( ECCODES_SAMPLES_PATH     @CMAKE_BINARY_DIR@/@ECCODES_SAMPLES_SUFF@ )
  set( ECCODES_IFS_SAMPLES_PATH @CMAKE_BINARY_DIR@/@ECCODES_IFS_SAMPLES_SUFF@ )
else()
  set( ECCODES_DEFINITION_PATH  @CMAKE_INSTALL_PREFIX@/@ECCODES_DEFINITION_SUFF@ )
  set( ECCODES_SAMPLES_PATH     @CMAKE_INSTALL_PREFIX@/@ECCODES_SAMPLES_SUFF@ )
  set( ECCODES_IFS_SAMPLES_PATH @CMAKE_INSTALL_PREFIX@/@ECCODES_IFS_SAMPLES_SUFF@ )
endif()
