libmariadb: fix compilation cmake issue 15937/head
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 23 Jun 2021 09:54:30 +0000 (11:54 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Wed, 23 Jun 2021 10:06:33 +0000 (12:06 +0200)
commitfd13c120e720a772cc10bb99c09e8f46b63a5050
tree5595aac715a91ecd38b913fd543de0c17d378de8
parent238046303d3408c622a2c2c2fc25fbc26cdd20e4
libmariadb: fix compilation cmake issue

This patch fixes the compilation issue of the upstream Cmake file.
If this patch is not applied we get the following compilation error output.

CMake Error at cmake/ConnectorName.cmake:30 (ENDMACRO):
  Flow control statements are not properly nested.
Call Stack (most recent call first):
  CMakeLists.txt:423 (INCLUDE)

The blamed cmake/ConnectorName.cmake file gets fixed with this patch.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
libs/libmariadb/patches/0001-libmariadb-fix-cmake.patch [new file with mode: 0644]