From 1f80dbdeab415195d73ce6426df4d4ba46252a5d Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Sun, 18 Oct 2015 14:15:24 +0200 Subject: [PATCH] If configuration builds with remote_io plugin we need to find CURL package first --- cmake/plugins.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/plugins.cmake b/cmake/plugins.cmake index dac7de73..4e6e8f85 100644 --- a/cmake/plugins.cmake +++ b/cmake/plugins.cmake @@ -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)