Merge pull request #4254 from mathisloge/cmake_option_fix

[CMake] fix mapnik_option
This commit is contained in:
Artem Pavlenko 2021-10-18 10:40:01 +01:00 committed by GitHub
commit 28378b81e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
macro(mapnik_option _name)
option(${ARGN})
add_feature_info("${ARGV0}" ${ARGV0} "${ARGV1}")
macro(mapnik_option option_name option_description option_default_value)
option(${option_name} "${option_description}" ${option_default_value})
add_feature_info(${option_name} ${option_name} "${option_description}")
endmacro()