From: Sebastian Kemper Date: Sat, 26 Jun 2021 21:10:37 +0000 (+0200) Subject: mariadb: fix cmake issue X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1c73bd8591aae978bbad748870ca81ffd62d48a9;p=feed%2Fpackages.git mariadb: fix cmake issue Same fix that went into libmariadb package with commit fd13c12. Signed-off-by: Sebastian Kemper --- 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}")