Fixed non-MariaDB connectors being used in builds
The FindMariaDBConnector.cmake did not set the MARIADB_CONNECTOR_FOUND variable to false but instead just removed the definition.
This commit is contained in:
parent
b9a9b1ebae
commit
cea5f24319
@ -42,7 +42,7 @@ if(HAVE_MARIADB_CONNECTOR)
|
||||
message(STATUS "Found MariaDB Connector-C")
|
||||
set(MARIADB_CONNECTOR_FOUND TRUE CACHE INTERNAL "" FORCE)
|
||||
else()
|
||||
unset(MARIADB_CONNECTOR_FOUND)
|
||||
set(MARIADB_CONNECTOR_FOUND FALSE CACHE INTERNAL "")
|
||||
unset(MARIADB_CONNECTOR_STATIC_FOUND)
|
||||
unset(MARIADB_CONNECTOR_LIBRARIES)
|
||||
unset(MARIADB_CONNECTOR_STATIC_LIBRARIES)
|
||||
|
Loading…
x
Reference in New Issue
Block a user