19 lines
351 B
CMake
19 lines
351 B
CMake
project(MP)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/include)
|
|
|
|
link_directories(${CMAKE_SOURCE_DIR}/lib/proto)
|
|
|
|
aux_source_directory(${CMAKE_SOURCE_DIR}/MP MP_DIR)
|
|
aux_source_directory(${CMAKE_SOURCE_DIR}/MP/proto PROTO_DIR)
|
|
|
|
add_library(MP
|
|
${MP_DIR}
|
|
${PROTO_DIR}
|
|
)
|
|
|
|
target_link_libraries(MP
|
|
protobuf
|
|
pthread
|
|
)
|