Blame SOURCES/evolution-ews-3.28.5-cmake-variable-name-comparison.patch

225aa4
diff -up evolution-data-server-3.28.5/cmake/modules/PrintableOptions.cmake.cmake-variable-name-comparison evolution-data-server-3.28.5/cmake/modules/PrintableOptions.cmake
225aa4
--- evolution-data-server-3.28.5/cmake/modules/PrintableOptions.cmake.cmake-variable-name-comparison	2021-06-16 16:45:58.554763738 +0200
225aa4
+++ evolution-data-server-3.28.5/cmake/modules/PrintableOptions.cmake	2021-06-16 16:47:13.343021509 +0200
225aa4
@@ -19,32 +19,32 @@
225aa4
 #    prints all the build options previously added with the above functions
225aa4
 
225aa4
 macro(add_printable_variable_bare _name)
225aa4
-	if(_name STREQUAL "")
225aa4
+	if("${_name}" STREQUAL "")
225aa4
 		message(FATAL_ERROR "variable name cannot be empty")
225aa4
-	endif(_name STREQUAL "")
225aa4
+	endif("${_name}" STREQUAL "")
225aa4
 	list(APPEND _printable_options ${_name})
225aa4
 endmacro()
225aa4
 
225aa4
 macro(add_printable_option _name _description _default_value)
225aa4
-	if(_name STREQUAL "")
225aa4
+	if("${_name}" STREQUAL "")
225aa4
 		message(FATAL_ERROR "option name cannot be empty")
225aa4
-	endif(_name STREQUAL "")
225aa4
+	endif("${_name}" STREQUAL "")
225aa4
 	option(${_name} ${_description} ${_default_value})
225aa4
 	add_printable_variable_bare(${_name})
225aa4
 endmacro()
225aa4
 
225aa4
 macro(add_printable_variable _name _description _default_value)
225aa4
-	if(_name STREQUAL "")
225aa4
+	if("${_name}" STREQUAL "")
225aa4
 		message(FATAL_ERROR "variable name cannot be empty")
225aa4
-	endif(_name STREQUAL "")
225aa4
+	endif("${_name}" STREQUAL "")
225aa4
 	set(${_name} ${_default_value} CACHE STRING ${_description})
225aa4
 	add_printable_variable_bare(${_name})
225aa4
 endmacro()
225aa4
 
225aa4
 macro(add_printable_variable_path _name _description _default_value)
225aa4
-	if(_name STREQUAL "")
225aa4
+	if("${_name}" STREQUAL "")
225aa4
 		message(FATAL_ERROR "path variable name cannot be empty")
225aa4
-	endif(_name STREQUAL "")
225aa4
+	endif("${_name}" STREQUAL "")
225aa4
 	set(${_name} ${_default_value} CACHE PATH ${_description})
225aa4
 	add_printable_variable_bare(${_name})
225aa4
 endmacro()