CMakeLists.txt 292 字节
Newer Older
G
guru4elephant 已提交
1 2 3
if(CLIENT_ONLY)
add_subdirectory(pybind11)
pybind11_add_module(serving_client src/general_model.cpp src/pybind_general_model.cpp)
M
MRXLT 已提交
4
target_link_libraries(serving_client PRIVATE -Wl,--whole-archive sdk-cpp pybind python -Wl,--no-whole-archive -lpthread -lcrypto -lm -lrt -lssl -ldl -lz)
G
guru4elephant 已提交
5
endif()