1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-22 07:54:18 +01:00
Clementine-audio-player-Mac.../ext/libclementine-remote/CMakeLists.txt
2019-01-15 17:54:08 +00:00

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
)