mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-02 18:46:46 +01:00
Add fatal error for missing protobuf compiler
This commit is contained in:
parent
a79b3e7852
commit
3da681a6b1
@ -93,7 +93,9 @@ if(Backtrace_FOUND)
|
|||||||
endif()
|
endif()
|
||||||
find_package(GnuTLS REQUIRED)
|
find_package(GnuTLS REQUIRED)
|
||||||
find_package(Protobuf REQUIRED)
|
find_package(Protobuf REQUIRED)
|
||||||
find_library(PROTOBUF_STATIC_LIBRARY libprotobuf.a libprotobuf)
|
if (NOT Protobuf_PROTOC_EXECUTABLE)
|
||||||
|
message(FATAL_ERROR "Missing protobuf compiler.")
|
||||||
|
endif()
|
||||||
if(LINUX)
|
if(LINUX)
|
||||||
find_package(ALSA REQUIRED)
|
find_package(ALSA REQUIRED)
|
||||||
pkg_check_modules(DBUS REQUIRED dbus-1)
|
pkg_check_modules(DBUS REQUIRED dbus-1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user