mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
16 lines
463 B
CMake
16 lines
463 B
CMake
IF (WITH_CURL)
|
|
INCLUDE(FindCURL)
|
|
IF(CURL_FOUND)
|
|
|
|
ADD_DEFINITIONS(-DHAVE_REMOTEIO=1)
|
|
#remote io plugin
|
|
REGISTER_PLUGIN(TARGET remote_io
|
|
TYPE MARIADB_CLIENT_PLUGIN_IO
|
|
CONFIGURATIONS DYNAMIC STATIC OFF
|
|
DEFAULT DYNAMIC
|
|
SOURCES ${CC_SOURCE_DIR}/plugins/io/remote_io.c
|
|
INCLUDES ${CURL_INCLUDE_DIR}
|
|
LIBRARIES ${CURL_LIBRARIES})
|
|
ENDIF()
|
|
ENDIF()
|