mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-23 16:28:19 +01:00
20 lines
365 B
CMake
20 lines
365 B
CMake
include_directories(${PROTOBUF_INCLUDE_DIRS})
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++0x")
|
|
|
|
set(MESSAGES
|
|
remotecontrolmessages.proto
|
|
)
|
|
|
|
protobuf_generate_cpp(PROTO_SOURCES PROTO_HEADERS ${MESSAGES})
|
|
|
|
add_library(libclementine-remote STATIC
|
|
${PROTO_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(libclementine-remote
|
|
${PROTOBUF_LIBRARY}
|
|
libclementine-common
|
|
)
|
|
|