Force installation of protobuf-compiler at configure step
This commit is contained in:
parent
2acf928723
commit
6c73e70dad
|
@ -862,7 +862,11 @@ else()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if( NOT Protobuf_PROTOC_EXECUTABLE )
|
if( NOT Protobuf_PROTOC_EXECUTABLE )
|
||||||
|
if( NOT KICAD_USE_CMAKE_FINDPROTOBUF)
|
||||||
set( Protobuf_PROTOC_EXECUTABLE "protobuf::protoc" )
|
set( Protobuf_PROTOC_EXECUTABLE "protobuf::protoc" )
|
||||||
|
else()
|
||||||
|
MESSAGE( FATAL_ERROR "Protobuf compiler not found. Please install protobuf-compiler." )
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if( NOT Protobuf_INCLUDE_DIR )
|
if( NOT Protobuf_INCLUDE_DIR )
|
||||||
|
|
Loading…
Reference in New Issue