提交 923b285c 编写于 作者: M MRXLT

fix compile bug

上级 2ae3d270
logex @ 1e897307
Subproject commit 1e897307c07004df144afedbf975228745a5a9e8
pipeline @ c5d633d2
Subproject commit c5d633d2d3353a6638b07f46055a6413d50db520
docopt-go @ ee0de3bc
Subproject commit ee0de3bc6815ee19d4a46c7eb90f829db0e014b1
rfw @ 6f0a6f32
Subproject commit 6f0a6f3266ba1058df9ef0c94cda1cecd2e62852
logex @ 1e897307
Subproject commit 1e897307c07004df144afedbf975228745a5a9e8
docopt-go @ ee0de3bc
Subproject commit ee0de3bc6815ee19d4a46c7eb90f829db0e014b1
rfw @ 6f0a6f32
Subproject commit 6f0a6f3266ba1058df9ef0c94cda1cecd2e62852
if(CLIENT_ONLY) if(CLIENT_ONLY)
add_subdirectory(pybind11) add_subdirectory(pybind11)
pybind11_add_module(serving_client src/general_model.cpp src/pybind_general_model.cpp) pybind11_add_module(serving_client src/general_model.cpp src/pybind_general_model.cpp)
target_link_libraries(serving_client -Wl,--whole-archive sdk-cpp pybind python -Wl,--no-whole-archive -lpthread -lcrypto -lm -lrt -lssl -ldl -lz) target_link_libraries(serving_client PRIVATE -Wl,--whole-archive sdk-cpp pybind python -Wl,--no-whole-archive -lpthread -lcrypto -lm -lrt -lssl -ldl -lz)
endif() endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册