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)