mirror of https://github.com/ecmwf/eccodes.git
GRIB-804: cmake does not enable JPEG if only openjpeg is present and not jasper
This commit is contained in:
parent
e67b37001a
commit
76d074ea8e
|
@ -12,7 +12,6 @@ project( eccodes C )
|
|||
|
||||
set( CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../ecbuild/cmake")
|
||||
|
||||
|
||||
include( ecbuild_system )
|
||||
|
||||
ecbuild_requires_macro_version( 1.7 )
|
||||
|
@ -116,7 +115,7 @@ if( ENABLE_JPG )
|
|||
set( HAVE_LIBJASPER 1 )
|
||||
endif()
|
||||
|
||||
if( OpenJPEG_FOUND )
|
||||
if( OPENJPEG_FOUND )
|
||||
set( HAVE_JPEG 1 )
|
||||
set( HAVE_LIBOPENJPEG 1 )
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue