databases/mysql-connector-c: fix configure against CMake 3.20
The CMake module code swapped an endif() and an endforeach(), which was never an error before.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= mysql-connector-c
|
||||
PORTVERSION= 6.1.11
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= MYSQL/Connector-C
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
--- cmake/install_macros.cmake.orig 2021-04-22 20:14:44 UTC
|
||||
+++ cmake/install_macros.cmake
|
||||
@@ -362,8 +362,8 @@ FUNCTION(INSTALL_DEBUG_TARGET target)
|
||||
CONFIGURATIONS Release RelWithDebInfo
|
||||
COMPONENT ${ARG_COMPONENT}
|
||||
OPTIONAL)
|
||||
- ENDIF()
|
||||
- ENDFOREACH()
|
||||
+ ENDFOREACH()
|
||||
+ ENDIF()
|
||||
|
||||
ENDFUNCTION()
|
||||
|
||||
Reference in New Issue
Block a user