From aef71dbae5272058c8d4c5d27128f91fb5f11c77 Mon Sep 17 00:00:00 2001 From: Mathis Logemann Date: Sat, 16 Oct 2021 08:27:09 +0200 Subject: [PATCH] [CMake] fix mapnik_option --- cmake/MapnikOption.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/MapnikOption.cmake b/cmake/MapnikOption.cmake index f9cef90b5..9c0dcb57d 100644 --- a/cmake/MapnikOption.cmake +++ b/cmake/MapnikOption.cmake @@ -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()