mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 03:27:40 +01:00
Check for protoc as well as libprotobuf
This commit is contained in:
parent
88732db62a
commit
d3d2a3184b
@ -246,13 +246,13 @@ if(ENABLE_BREAKPAD)
|
||||
set(HAVE_BREAKPAD ON)
|
||||
endif(ENABLE_BREAKPAD)
|
||||
|
||||
if(ENABLE_SPOTIFY AND PROTOBUF_FOUND)
|
||||
if(ENABLE_SPOTIFY AND PROTOBUF_FOUND AND PROTOBUF_PROTOC_EXECUTABLE)
|
||||
set(HAVE_SPOTIFY ON)
|
||||
endif(ENABLE_SPOTIFY AND PROTOBUF_FOUND)
|
||||
endif(ENABLE_SPOTIFY AND PROTOBUF_FOUND AND PROTOBUF_PROTOC_EXECUTABLE)
|
||||
|
||||
if(ENABLE_SPOTIFY_BLOB AND PROTOBUF_FOUND AND SPOTIFY_FOUND)
|
||||
if(ENABLE_SPOTIFY_BLOB AND PROTOBUF_FOUND AND PROTOBUF_PROTOC_EXECUTABLE AND SPOTIFY_FOUND)
|
||||
set(HAVE_SPOTIFY_BLOB ON)
|
||||
endif(ENABLE_SPOTIFY_BLOB AND PROTOBUF_FOUND AND SPOTIFY_FOUND)
|
||||
endif(ENABLE_SPOTIFY_BLOB AND PROTOBUF_FOUND AND PROTOBUF_PROTOC_EXECUTABLE AND SPOTIFY_FOUND)
|
||||
|
||||
|
||||
if(ENABLE_VISUALISATIONS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user