2013-01-03 21:40:47 +01:00
|
|
|
include_directories(${PROTOBUF_INCLUDE_DIRS})
|
|
|
|
|
2019-01-15 18:54:08 +01:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++0x")
|
|
|
|
|
2013-01-03 21:40:47 +01:00
|
|
|
set(MESSAGES
|
|
|
|
remotecontrolmessages.proto
|
|
|
|
)
|
|
|
|
|
|
|
|
protobuf_generate_cpp(PROTO_SOURCES PROTO_HEADERS ${MESSAGES})
|
|
|
|
|
|
|
|
add_library(libclementine-remote STATIC
|
|
|
|
${PROTO_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(libclementine-remote
|
2015-12-13 14:02:07 +01:00
|
|
|
${PROTOBUF_LIBRARY}
|
2013-01-03 21:40:47 +01:00
|
|
|
libclementine-common
|
|
|
|
)
|
|
|
|
|