summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2021-04-09 15:24:34 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2021-04-09 15:24:34 +0200
commit36fd94aa5c129e8b3b6b6233cc9d830ef5551e0a (patch)
tree6c024df0a320feb1d244ed3309bcf87980611b39
parent46340ad8d126891c18d7efece2b484ebe1b9c9a6 (diff)
downloadmariadb-git-36fd94aa5c129e8b3b6b6233cc9d830ef5551e0a.tar.gz
Remove add_jar modified: CMakeLists.txt
-rw-r--r--storage/connect/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/connect/CMakeLists.txt b/storage/connect/CMakeLists.txt
index 80f20bca378..be206e583f9 100644
--- a/storage/connect/CMakeLists.txt
+++ b/storage/connect/CMakeLists.txt
@@ -275,6 +275,7 @@ IF(CONNECT_WITH_JDBC)
JavaWrappers.jar)
add_definitions(-DJAVA_SUPPORT)
IF(CONNECT_WITH_MONGO)
+ SET(CONNECT_SOURCES ${CONNECT_SOURCES} Mongo2.jar Mono3.jar)
add_definitions(-DMONGO_SUPPORT)
ENDIF()
ELSE()
@@ -411,8 +412,6 @@ IF(CONNECT_WITH_JDBC AND JAVA_FOUND AND JNI_FOUND)
${CMAKE_CURRENT_BINARY_DIR}/JdbcInterface.jar
DESTINATION ${INSTALL_PLUGINDIR} COMPONENT connect-engine)
IF(CONNECT_WITH_MONGO)
- add_jar(Mongo2 Mongo2Interface.java)
- add_jar(Mongo3 Mongo3Interface.java)
INSTALL(FILES
${CMAKE_CURRENT_SOURCE_DIR}/Mongo2.jar
${CMAKE_CURRENT_SOURCE_DIR}/Mongo3.jar