Commit 36fd94aa authored by Olivier Bertrand's avatar Olivier Bertrand

Remove add_jar modified: CMakeLists.txt

parent 46340ad8
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment