Skip to content

Commit 7972a45

Browse files
committed
- Remove REQUIRED option that caused compilation to fail
Remove JVM_LIBRARY (is now dynamically loaded at run time) modified: storage/connect/CMakeLists.txt
1 parent 0f5ced1 commit 7972a45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

storage/connect/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,12 @@ IF(CONNECT_WITH_JDBC)
268268
# TODO: Find how to compile and install the JdbcInterface.java class
269269
# Find required libraries and include directories
270270

271-
FIND_PACKAGE(Java REQUIRED)
272-
FIND_PACKAGE(JNI REQUIRED)
271+
FIND_PACKAGE(Java)
272+
FIND_PACKAGE(JNI)
273273
IF (JAVA_FOUND AND JNI_FOUND)
274274
INCLUDE_DIRECTORIES(${JAVA_INCLUDE_PATH})
275275
INCLUDE_DIRECTORIES(${JAVA_INCLUDE_PATH2})
276-
SET(JDBC_LIBRARY ${JAVA_JVM_LIBRARY})
276+
# SET(JDBC_LIBRARY ${JAVA_JVM_LIBRARY})
277277
SET(CONNECT_SOURCES ${CONNECT_SOURCES}
278278
JdbcInterface.java JdbcInterface.class
279279
jdbconn.cpp tabjdbc.cpp jdbconn.h tabjdbc.h jdbccat.h)

0 commit comments

Comments
 (0)