mirror of https://github.com/ecmwf/eccodes.git
CMake install: related to GRIB-613
This commit is contained in:
parent
f9b1a38101
commit
96e93e5c50
|
@ -5,6 +5,9 @@ install( FILES ${definition_files} ${table_files}
|
|||
DESTINATION share/${PROJECT_NAME}/definitions
|
||||
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ )
|
||||
|
||||
install( FILES installDefinitions.sh
|
||||
DESTINATION share/${PROJECT_NAME}/definitions)
|
||||
|
||||
install( DIRECTORY budg bufr cdf common grib1 grib2 gts mars metar taf tide hdf5 wrap
|
||||
DESTINATION share/${PROJECT_NAME}/definitions
|
||||
FILES_MATCHING
|
||||
|
@ -20,7 +23,7 @@ install( DIRECTORY budg bufr cdf common grib1 grib2 gts mars metar taf tide hdf
|
|||
file( COPY ${definition_files} ${table_files}
|
||||
DESTINATION ${CMAKE_BINARY_DIR}/share/${PROJECT_NAME}/definitions )
|
||||
|
||||
file( COPY budg cdf common grib1 grib2 gts mars metar taf tide hdf5 wrap
|
||||
file( COPY budg bufr cdf common grib1 grib2 gts mars metar taf tide hdf5 wrap
|
||||
DESTINATION ${CMAKE_BINARY_DIR}/share/${PROJECT_NAME}/definitions
|
||||
FILES_MATCHING
|
||||
PATTERN "*.def"
|
||||
|
|
|
@ -54,7 +54,7 @@ if( HAVE_PYTHON )
|
|||
|
||||
swig_link_libraries( gribapi_swig grib_api ${PYTHON_LIBRARIES} )
|
||||
|
||||
set(PYTHON_DEST "lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages" )
|
||||
set(PYTHON_DEST "lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/grib_api" )
|
||||
|
||||
install(TARGETS _gribapi_swig DESTINATION ${PYTHON_DEST} )
|
||||
|
||||
|
|
Loading…
Reference in New Issue