mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-22 15:58:45 +01:00
Link statically to libprotobuf from the spotifyblob
This commit is contained in:
parent
ea0480f32c
commit
170c64cd8b
@ -56,6 +56,8 @@ find_package(PkgConfig REQUIRED)
|
|||||||
find_package(Protobuf REQUIRED)
|
find_package(Protobuf REQUIRED)
|
||||||
find_package(FFTW3)
|
find_package(FFTW3)
|
||||||
|
|
||||||
|
find_library(PROTOBUF_STATIC_LIBRARY libprotobuf.a libprotobuf)
|
||||||
|
|
||||||
pkg_check_modules(CDIO libcdio)
|
pkg_check_modules(CDIO libcdio)
|
||||||
pkg_check_modules(CHROMAPRINT REQUIRED libchromaprint)
|
pkg_check_modules(CHROMAPRINT REQUIRED libchromaprint)
|
||||||
pkg_search_module(CRYPTOPP cryptopp libcrypto++)
|
pkg_search_module(CRYPTOPP cryptopp libcrypto++)
|
||||||
|
@ -46,6 +46,7 @@ target_link_libraries(clementine-spotifyblob
|
|||||||
${QT_QTNETWORK_LIBRARY}
|
${QT_QTNETWORK_LIBRARY}
|
||||||
${GSTREAMER_BASE_LIBRARIES}
|
${GSTREAMER_BASE_LIBRARIES}
|
||||||
${GSTREAMER_APP_LIBRARIES}
|
${GSTREAMER_APP_LIBRARIES}
|
||||||
|
${PROTOBUF_STATIC_LIBRARY}
|
||||||
clementine-spotifyblob-messages
|
clementine-spotifyblob-messages
|
||||||
libclementine-common
|
libclementine-common
|
||||||
)
|
)
|
||||||
|
@ -33,7 +33,6 @@ add_library(libclementine-common STATIC
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(libclementine-common
|
target_link_libraries(libclementine-common
|
||||||
${PROTOBUF_LIBRARY}
|
|
||||||
${TAGLIB_LIBRARIES}
|
${TAGLIB_LIBRARIES}
|
||||||
${CMAKE_THREAD_LIBS_INIT}
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
)
|
)
|
||||||
|
@ -11,6 +11,7 @@ add_library(libclementine-remote STATIC
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(libclementine-remote
|
target_link_libraries(libclementine-remote
|
||||||
|
${PROTOBUF_LIBRARY}
|
||||||
libclementine-common
|
libclementine-common
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -38,6 +38,7 @@ add_library(libclementine-tagreader STATIC
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(libclementine-tagreader
|
target_link_libraries(libclementine-tagreader
|
||||||
|
${PROTOBUF_LIBRARY}
|
||||||
libclementine-common
|
libclementine-common
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user