1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

If configuration builds with remote_io plugin we need to find

CURL package first
This commit is contained in:
Georg Richter
2015-10-18 14:15:24 +02:00
parent 1b597e0e37
commit 1f80dbdeab

View File

@@ -58,6 +58,10 @@ FOREACH(PLUGIN ${PLUGINS})
MARK_AS_ADVANCED(${PLUGIN}_PLUGIN_TYPE)
ENDFOREACH()
IF(NOT REMOTEIO_PLUGIN_TYPE MATCHES "NO")
FIND_PACKAGE(CURL)
ENDIF()
# since some files contain multiple plugins, remove duplicates from source files
LIST(REMOVE_DUPLICATES LIBMARIADB_SOURCES)