Compilation warnings about redefined ALBERTA_DIM
This might actually be due to upstream Alberta package but wasn't an issue before moving to imported targets.
It seems like each imported (via pkg-config) Alberta library sets it's own ALBERTA_DIM to the dimension of the Alberta library. As all of those are automatically linked to CMake target for libdune-grid, these definitios are passed to the compiler as e.g -DALBERTA_DIM=1 -DALBERTA_DIM=2 -DALBERTA_DIM=3
and provoke compiler warnings:
<command-line>: warning: "ALBERTA_DIM" redefined
<command-line>: note: this is the location of the previous definition
It seems like before moving to imported target we used the maximum (world?-)dimension for ALBERTA_DIM.