mirror of https://github.com/ecmwf/eccodes.git
Checkin from Tiago: fixes for build system
This commit is contained in:
parent
1da030368f
commit
e45107acbb
|
@ -69,7 +69,9 @@ set( HAVE_LIBOPENJPEG 0 )
|
||||||
|
|
||||||
if( GRIB_API_JPG )
|
if( GRIB_API_JPG )
|
||||||
|
|
||||||
|
ecbuild_add_extra_search_paths( jasper ) # help standard cmake macro with ecmwf paths
|
||||||
find_package( Jasper )
|
find_package( Jasper )
|
||||||
|
|
||||||
find_package( OpenJPEG )
|
find_package( OpenJPEG )
|
||||||
|
|
||||||
if( JASPER_FOUND )
|
if( JASPER_FOUND )
|
||||||
|
|
|
@ -53,7 +53,7 @@ if( GRIB_API_PYTHON )
|
||||||
set( LIB_OPENJPEG ${HAVE_LIBOPENJPEG} )
|
set( LIB_OPENJPEG ${HAVE_LIBOPENJPEG} )
|
||||||
get_filename_component(OPENJPEG_DIR ${OPENJPEG_INCLUDE_DIR} PATH )
|
get_filename_component(OPENJPEG_DIR ${OPENJPEG_INCLUDE_DIR} PATH )
|
||||||
|
|
||||||
include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${PYTHON_INCLUDE_DIRS} )
|
||||||
|
|
||||||
configure_file( setup.py.in setup.py )
|
configure_file( setup.py.in setup.py )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue