diff --git a/CMakeLists.txt b/CMakeLists.txt index 7bde9ba77..cd2e9b54c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -444,18 +444,6 @@ if( HAVE_FORTRAN ) list( APPEND ECCODES_LIBRARIES eccodes_f90 ) endif() -# Bundle -if( NOT PROJECT_NAME STREQUAL CMAKE_PROJECT_NAME ) - set( ECCODES_FOUND TRUE PARENT_SCOPE ) - set( ECCODES_DEFINITIONS ${ECCODES_DEFINITIONS} PARENT_SCOPE )# includes already TPL definitions - set( ECCODES_INCLUDE_DIRS ${ECCODES_INCLUDE_DIRS} ${ECCODES_EXTRA_INCLUDE_DIRS} PARENT_SCOPE ) - set( ECCODES_LIBRARIES ${ECCODES_LIBRARIES} ${ECCODES_EXTRA_LIBRARIES} PARENT_SCOPE ) - set( ECCODES_INSTALL_EXTRA_TOOLS ${ECCODES_INSTALL_EXTRA_TOOLS} PARENT_SCOPE ) - set( ECCODES_DEFINITION_PATH ${CMAKE_BINARY_DIR}/${ECCODES_DEFINITION_SUFF} PARENT_SCOPE ) - set( ECCODES_SAMPLES_PATH ${CMAKE_BINARY_DIR}/${ECCODES_SAMPLES_SUFF} PARENT_SCOPE ) - set( ECCODES_IFS_SAMPLES_PATH ${CMAKE_BINARY_DIR}/${ECCODES_IFS_SAMPLES_SUFF} PARENT_SCOPE ) -endif() - # pkg-config ecbuild_pkgconfig( NAME eccodes