mirror of https://github.com/ecmwf/eccodes.git
samples can be taken from build directory
This commit is contained in:
parent
93d8264d58
commit
2c23909d0e
|
@ -10,3 +10,8 @@ endforeach()
|
|||
|
||||
set( GRIB_API_SAMPLES_DIR ${CMAKE_CURRENT_SOURCE_DIR} PARENT_SCOPE )
|
||||
set( GRIB_API_SAMPLES_FILES ${GRIB_API_SAMPLES_FILES} PARENT_SCOPE )
|
||||
|
||||
# copy the samples to the build directory
|
||||
|
||||
file( COPY ${samples_files}
|
||||
DESTINATION ${CMAKE_BINARY_DIR}/share/${PROJECT_NAME}/samples )
|
||||
|
|
Loading…
Reference in New Issue