53d0503e6b
If DISABLE_LICENSES=yes is set, gdal is built without license file. Then: CMake Error at doc/licensing/CMakeLists.txt:240 (message): No license file for gdal (/usr/local/share/licenses/gdal*/LICENSE)