mirror of https://github.com/ecmwf/eccodes.git
Testing: fix the definition file parsing (find does not work on symlink)
This commit is contained in:
parent
267b6e9074
commit
df2af75d72
|
@ -11,7 +11,8 @@ proj_dir=@PROJECT_SOURCE_DIR@
|
|||
data_dir=@PROJECT_BINARY_DIR@/data
|
||||
|
||||
# use definitions from binary dir to test if installation will be correct
|
||||
def_dir="@CMAKE_BINARY_DIR@/share/@PROJECT_NAME@/definitions"
|
||||
# Note: 'definitions' is a symlink so must put final slash to interpret as directory
|
||||
def_dir="@CMAKE_BINARY_DIR@/share/@PROJECT_NAME@/definitions/"
|
||||
ECCODES_DEFINITION_PATH="${def_dir}"
|
||||
export ECCODES_DEFINITION_PATH
|
||||
|
||||
|
|
Loading…
Reference in New Issue