Skip to content

Commit

Permalink
cmake: add missing lib_lightgbm_swig.so to lightgbmlib.jar on linux (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
shuttie authored Jul 4, 2024
1 parent f811c82 commit 83df24d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,12 @@ if(USE_SWIG)
copy_if_different
"${PROJECT_SOURCE_DIR}/lib_lightgbm.so"
com/microsoft/ml/lightgbm/linux/x86_64
COMMAND
"${CMAKE_COMMAND}"
-E
copy_if_different
"${PROJECT_SOURCE_DIR}/lib_lightgbm_swig.so"
com/microsoft/ml/lightgbm/linux/x86_64
COMMAND "${Java_JAR_EXECUTABLE}" -cf lightgbmlib.jar com
)
endif()
Expand Down

0 comments on commit 83df24d

Please sign in to comment.