2011-04-25 21:16:26 +02:00
|
|
|
include_directories(${PROTOBUF_INCLUDE_DIRS})
|
|
|
|
|
2011-04-29 21:44:51 +02:00
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/blobversion.h.in
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/blobversion.h)
|
2011-04-25 21:16:26 +02:00
|
|
|
|
2012-01-08 00:30:33 +01:00
|
|
|
set(MESSAGES
|
2011-04-26 15:42:58 +02:00
|
|
|
spotifymessages.proto
|
2011-04-25 21:16:26 +02:00
|
|
|
)
|
|
|
|
|
2012-01-08 00:30:33 +01:00
|
|
|
protobuf_generate_cpp(PROTO_SOURCES PROTO_HEADERS ${MESSAGES})
|
2011-04-25 21:16:26 +02:00
|
|
|
|
|
|
|
add_library(clementine-spotifyblob-messages STATIC
|
|
|
|
${PROTO_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(clementine-spotifyblob-messages
|
2012-01-06 00:22:51 +01:00
|
|
|
libclementine-common
|
2011-04-25 21:16:26 +02:00
|
|
|
)
|