CMakeLists.txt 326 字节
Newer Older
1
include_directories($ENV{jni_path} $ENV{jni_sub_path} $ENV{paddle_path})
2 3
find_library(PADDLE_INFERENCE_C libpaddle_inference_c.so
             HINTS $ENV{paddle_inference_lib})
4 5 6
aux_source_directory(native JNI_SRCS)
add_library(paddle_inference SHARED ${JNI_SRCS})
target_link_libraries(paddle_inference ${PADDLE_INFERENCE_C})