Skip to content

Commit

Permalink
Fixed the java bindings in the cmake build.
Browse files Browse the repository at this point in the history
This closes #360
  • Loading branch information
akornatskyy authored and greggomann committed May 11, 2020
1 parent 48922e0 commit 630dbf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,7 @@ target_link_libraries(
sasl2
zookeeper
mesos-protobufs
$<$<AND:$<PLATFORM_ID:Linux>,$<BOOL:${ENABLE_NVML}>>:nvml>
$<$<BOOL:${HAS_JAVA}>:mesos-java>)
$<$<AND:$<PLATFORM_ID:Linux>,$<BOOL:${ENABLE_NVML}>>:nvml>)

if (NOT WIN32)
target_link_libraries(mesos PUBLIC leveldb)
Expand Down
3 changes: 2 additions & 1 deletion src/java/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ add_custom_command(
add_library(mesos-java ${JAVA_SRC} ${JAVA_H})

target_link_libraries(
mesos-java
mesos-java PUBLIC
mesos
mesos-protobufs
process
zookeeper
Expand Down

0 comments on commit 630dbf7

Please sign in to comment.