mirror of https://github.com/ecmwf/eccodes.git
Merge branch 'develop' of github.com:ecmwf/eccodes into develop
This commit is contained in:
commit
225492cab6
|
@ -434,7 +434,7 @@ ecbuild_add_library( TARGET eccodes
|
|||
# griby.c gribl.c
|
||||
${eccodes_src_files}
|
||||
#PRIVATE_LIBS ${ECCODES_EXTRA_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${CMATH_LIBRARIES}
|
||||
PRIVATE_INCLUDES "${AEC_INCLUDE_DIRS}"
|
||||
PRIVATE_INCLUDES "${AEC_INCLUDE_DIRS}" "${PNG_INCLUDE_DIRS}"
|
||||
PRIVATE_LIBS ${ECCODES_EXTRA_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${AEC_LIBRARIES} ${PNG_LIBRARIES}
|
||||
PUBLIC_LIBS ${CMATH_LIBRARIES} ${THREADS_LIBRARIES}
|
||||
TEMPLATES ${eccodes_extra_src_files}
|
||||
|
|
|
@ -187,7 +187,7 @@ static int value_count(grib_accessor* a, long* n_vals)
|
|||
|
||||
#if HAVE_LIBPNG
|
||||
|
||||
#include "png.h"
|
||||
#include <png.h>
|
||||
|
||||
typedef struct png_read_callback_data
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue