mirror of https://github.com/ecmwf/eccodes.git
ECC-1143: CMake: Migration to ecbuild v3.4
This commit is contained in:
parent
7023f11019
commit
5d99ce70f0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue