mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 23:00:07 -06:00
FindGDAL: add documentation to cache variables
This commit is contained in:
@@ -71,6 +71,7 @@ find_path(GDAL_INCLUDE_DIR gdal.h
|
||||
include/gdal
|
||||
include/GDAL
|
||||
include
|
||||
DOC "Path to the GDAL include directory"
|
||||
)
|
||||
mark_as_advanced(GDAL_INCLUDE_DIR)
|
||||
|
||||
@@ -84,6 +85,7 @@ if(UNIX)
|
||||
ENV GDAL_DIR
|
||||
ENV GDAL_ROOT
|
||||
PATH_SUFFIXES bin
|
||||
DOC "Path to the gdal-config tool"
|
||||
)
|
||||
mark_as_advanced(GDAL_CONFIG)
|
||||
|
||||
@@ -143,6 +145,7 @@ find_library(GDAL_LIBRARY
|
||||
ENV GDAL_ROOT
|
||||
${_gdal_libpath}
|
||||
PATH_SUFFIXES lib
|
||||
DOC "Path to the GDAL library"
|
||||
)
|
||||
mark_as_advanced(GDAL_LIBRARY)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user