Skip to content
Permalink
Browse files

MDEV-10936 CONNECT engine JDBC type can't find JdbcInterface

Don't use instal_jar() from Use_Java.cmake -
at least in CentOS 7 (cmake 2.8.12.2) it doesn't yet support
the COMPONENT option.
  • Loading branch information...
vuvova committed May 13, 2017
1 parent a8773ef commit a3cf69e2e5ba8e3954b24bf3f8bcf8705c102f64
Showing with 1 addition and 1 deletion.
  1. +1 −1 storage/connect/CMakeLists.txt
@@ -270,8 +270,8 @@ IF(CONNECT_WITH_JDBC)
# Find required libraries and include directories
SET (JAVA_SOURCES JdbcInterface.java)
add_jar(JdbcInterface ${JAVA_SOURCES})
install_jar(JdbcInterface DESTINATION ${INSTALL_PLUGINDIR} COMPONENT connect-engine)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/JavaWrappers.jar
${CMAKE_CURRENT_BINARY_DIR}/JdbcInterface.jar
DESTINATION ${INSTALL_PLUGINDIR} COMPONENT connect-engine)
add_definitions(-DJDBC_SUPPORT)
ELSE()

0 comments on commit a3cf69e

Please sign in to comment.
You can’t perform that action at this time.