forked from pool/mariadb
Kristyna Streitova
ed98f60821
- Add mariadb-10.5.9-cmake-3.20.patch: Fix syntax error which is exposed by cmake 3.20. OBS-URL: https://build.opensuse.org/request/show/889298 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=269
20 lines
645 B
Diff
20 lines
645 B
Diff
Subject: [PATCH] Fix syntax error in cmake 3.20
|
|
|
|
---
|
|
cmake/ConnectorName.cmake | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: mariadb-10.5.9/libmariadb/cmake/ConnectorName.cmake
|
|
===================================================================
|
|
--- mariadb-10.5.9.orig/libmariadb/cmake/ConnectorName.cmake
|
|
+++ mariadb-10.5.9/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}")
|