mirror of https://github.com/ecmwf/eccodes.git
Add build date into library: Fix Windows build
This commit is contained in:
parent
267f155628
commit
1721cc7351
|
@ -408,7 +408,9 @@ list( APPEND grib_api_extra_srcs
|
|||
grib_bits_ibmpow_opt.c
|
||||
minmax_val.c )
|
||||
|
||||
ecbuild_get_date(eccodes_BUILD_DATE)
|
||||
if(UNIX)
|
||||
ecbuild_get_date(eccodes_BUILD_DATE)
|
||||
endif()
|
||||
configure_file( grib_api_version.c.in grib_api_version.c @ONLY )
|
||||
configure_file( eccodes_version.h.in eccodes_version.h @ONLY )
|
||||
|
||||
|
|
Loading…
Reference in New Issue