24 lines
1.4 KiB
Diff
24 lines
1.4 KiB
Diff
--- eccodes-2.15.0-Source.unchanged/fortran/CMakeLists.txt 2019-11-28 10:29:37.000000000 +0100
|
|
+++ eccodes-2.15.0-Source/fortran/CMakeLists.txt 2019-12-15 20:20:47.150657695 +0100
|
|
@@ -43,7 +43,9 @@ if( HAVE_FORTRAN )
|
|
ecbuild_add_library( TARGET eccodes_f90
|
|
SOURCES grib_fortran.c grib_f90.f90 eccodes_f90.f90 grib_kinds.h
|
|
GENERATED grib_f90.f90 eccodes_f90.f90
|
|
- LIBS eccodes )
|
|
+ LIBS eccodes
|
|
+ SOVERSION ${ECCODES_SOVERSION_F90})
|
|
+
|
|
if( DEFINED ecbuild_VERSION AND NOT ${ecbuild_VERSION} VERSION_LESS 3.1 )
|
|
# Installed module directory is not in the PUBLIC INCLUDES!
|
|
target_include_directories( eccodes_f90 PUBLIC $<INSTALL_INTERFACE:${INSTALL_INCLUDE_DIR}> )
|
|
--- eccodes-2.15.0-Source.unchanged/src/CMakeLists.txt 2019-11-28 10:29:37.000000000 +0100
|
|
+++ eccodes-2.15.0-Source/src/CMakeLists.txt 2019-12-15 20:20:47.150657695 +0100
|
|
@@ -437,6 +437,7 @@ ecbuild_add_library(TARGET eccodes
|
|
GENERATED grib_api_version.c
|
|
LIBS ${ECCODES_EXTRA_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${CMATH_LIBRARIES}
|
|
TEMPLATES ${grib_api_extra_srcs}
|
|
+ SOVERSION ${ECCODES_SOVERSION}
|
|
INSTALL_HEADERS_LIST
|
|
grib_api.h
|
|
eccodes.h
|