CMakeLists.txt 531 字节
Newer Older
W
Wang Guibao 已提交
1 2 3 4
FILE(GLOB fluid_gpu_engine_srcs ${CMAKE_CURRENT_LIST_DIR}/src/*.cpp)
add_library(fluid_gpu_engine ${fluid_gpu_engine_srcs})
target_include_directories(fluid_gpu_engine PUBLIC
        ${CMAKE_BINARY_DIR}/Paddle/fluid_install_dir/)
M
MRXLT 已提交
5

6
add_dependencies(fluid_gpu_engine pdserving extern_paddle configure)
W
wangguibao 已提交
7
target_link_libraries(fluid_gpu_engine pdserving paddle_fluid iomp5 mklml_intel -lpthread -lcrypto -lm -lrt -lssl -ldl -lz)
W
Wang Guibao 已提交
8 9 10 11

install(TARGETS fluid_gpu_engine 
        ARCHIVE DESTINATION ${PADDLE_SERVING_INSTALL_DIR}/lib
        )