[CMake] fix mapnik_option

This commit is contained in:
Mathis Logemann 2021-10-16 08:27:09 +02:00
parent 0edb018465
commit aef71dbae5

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()