diff --git a/tests/include.ctest.sh.in b/tests/include.ctest.sh.in index a2ef06613..811efed0c 100644 --- a/tests/include.ctest.sh.in +++ b/tests/include.ctest.sh.in @@ -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