pass the library path to Java tests
This commit is contained in:
parent
33d6c412c1
commit
c7324761c1
|
@ -415,5 +415,8 @@ function(add_java_test)
|
|||
endforeach()
|
||||
add_fdbclient_test(
|
||||
NAME ${T_NAME}
|
||||
COMMAND ${Java_JAVA_EXECUTABLE} -cp "${cp}" ${T_CLASS} "@CLUSTER_FILE@")
|
||||
COMMAND ${Java_JAVA_EXECUTABLE}
|
||||
-cp "${cp}"
|
||||
-Djava.library.path=${CMAKE_BINARY_DIR}/lib
|
||||
${T_CLASS} "@CLUSTER_FILE@")
|
||||
endfunction()
|
||||
|
|
Loading…
Reference in New Issue