ports/databases/mysql-connector-c/files/patch-cmake_install__macros.cmake
Adriaan de Groot e75ad72a3c 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.
2021-04-22 22:21:05 +02:00

13 lines
328 B
CMake

--- 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()