From 0970bb08900dfd2a2c31b5087e70ec423f4ef0c9 Mon Sep 17 00:00:00 2001 From: tigro Date: Thu, 30 Nov 2023 00:30:26 +0300 Subject: [PATCH] Added patch --- .../0001-Fix-syntax-error-in-cmake-3.20.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 SOURCES/0001-Fix-syntax-error-in-cmake-3.20.patch diff --git a/SOURCES/0001-Fix-syntax-error-in-cmake-3.20.patch b/SOURCES/0001-Fix-syntax-error-in-cmake-3.20.patch new file mode 100644 index 0000000..2c8c449 --- /dev/null +++ b/SOURCES/0001-Fix-syntax-error-in-cmake-3.20.patch @@ -0,0 +1,25 @@ +From 1364ad823b2405ebcd3e429c7d6defac05785576 Mon Sep 17 00:00:00 2001 +From: tigro +Date: Thu, 30 Nov 2023 00:24:30 +0300 +Subject: [PATCH] Fix syntax error in cmake 3.20 + +--- + cmake/ConnectorName.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/ConnectorName.cmake b/cmake/ConnectorName.cmake +index b7bbbad..357b8ac 100644 +--- a/cmake/ConnectorName.cmake ++++ b/cmake/ConnectorName.cmake +@@ -22,7 +22,7 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Windows") + SET(MACHINE_NAME "x64") + ELSE() + SET(MACHINE_NAME "32") +- END() ++ ENDIF() + ENDIF() + + SET(product_name "mysql-connector-c-${CPACK_PACKAGE_VERSION}-${PLATFORM_NAME}${CONCAT_SIGN}${MACHINE_NAME}") +-- +2.43.0 +