From 1c73bd8591aae978bbad748870ca81ffd62d48a9 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 26 Jun 2021 23:10:37 +0200 Subject: [PATCH] mariadb: fix cmake issue Same fix that went into libmariadb package with commit fd13c12. Signed-off-by: Sebastian Kemper --- utils/mariadb/patches/210-libmariadb-fix-cmake.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 utils/mariadb/patches/210-libmariadb-fix-cmake.patch diff --git a/utils/mariadb/patches/210-libmariadb-fix-cmake.patch b/utils/mariadb/patches/210-libmariadb-fix-cmake.patch new file mode 100644 index 0000000000..2b28bfb12e --- /dev/null +++ b/utils/mariadb/patches/210-libmariadb-fix-cmake.patch @@ -0,0 +1,11 @@ +--- a/libmariadb/cmake/ConnectorName.cmake ++++ b/libmariadb/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.30.2