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

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