Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
72844d88
Commit
72844d88
authored
Jul 12, 2016
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding DESTINATION to install_jar in CMakeLists.txt
parent
11a1332b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
storage/connect/CMakeLists.txt
storage/connect/CMakeLists.txt
+8
-3
No files found.
storage/connect/CMakeLists.txt
View file @
72844d88
...
...
@@ -235,8 +235,11 @@ ENDIF(CONNECT_WITH_ODBC)
#
# JDBC
#
OPTION
(
CONNECT_WITH_JDBC
"Compile CONNECT storage engine with JDBC support"
ON
)
IF
(
APPLE
)
OPTION
(
CONNECT_WITH_JDBC
"some comment"
OFF
)
ELSE
()
OPTION
(
CONNECT_WITH_JDBC
"some comment"
ON
)
ENDIF
()
IF
(
CONNECT_WITH_JDBC
)
# TODO: detect Java SDK and the presence of JDBC connectors
...
...
@@ -254,9 +257,11 @@ IF(CONNECT_WITH_JDBC)
jdbconn.cpp tabjdbc.cpp jdbconn.h tabjdbc.h jdbccat.h
JdbcInterface.java ApacheInterface.java MariadbInterface.java
MysqlInterface.java OracleInterface.java PostgresqlInterface.java
)
# TODO: detect presence of components such as the MariaDB JDBC driver or
# Apache package in order to add more files to the JAVA_SOURCES.
SET
(
JAVA_SOURCES JdbcInterface.java
)
add_jar
(
JdbcInterface
${
JAVA_SOURCES
}
)
install_jar
(
JdbcInterface
${
INSTALL_PLUGINDIR
}
COMPONENT connect-engine
)
install_jar
(
JdbcInterface
DESTINATION
${
INSTALL_PLUGINDIR
}
COMPONENT connect-engine
)
add_definitions
(
-DJDBC_SUPPORT
)
ELSE
()
SET
(
JDBC_LIBRARY
""
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment