You've already forked mariadb-connector-c
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:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user