1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-10 09:03:13 +01:00
Clementine-audio-player-Mac.../ext/libclementine-remote/CMakeLists.txt
2023-07-11 00:02:09 +01:00

33 lines
632 B
CMake

include_directories(${PROTOBUF_INCLUDE_DIRS})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++0x")
set(MESSAGES
remotecontrolmessages.proto
)
add_library(libclementine-remote STATIC)
protobuf_generate(
LANGUAGE cpp
TARGET libclementine-remote
PROTOS ${MESSAGES}
)
set_property(
TARGET libclementine-remote
PROPERTY CXX_STANDARD 17
)
get_cmake_property(_variableNames VARIABLES)
list (SORT _variableNames)
foreach (_variableName ${_variableNames})
message(STATUS "${_variableName}=${${_variableName}}")
endforeach()
target_link_libraries(libclementine-remote
protobuf::libprotobuf
libclementine-common
)