Merge pull request #3751 from uykusuz/master

fixes issue #3750
This commit is contained in:
Jisi Liu 2017-10-18 15:39:12 -07:00 committed by GitHub
commit 9c407a16e4

View File

@ -150,6 +150,10 @@ if(NOT EXISTS "${Protobuf_PROTOC_EXECUTABLE}")
get_target_property(Protobuf_PROTOC_EXECUTABLE protobuf::protoc get_target_property(Protobuf_PROTOC_EXECUTABLE protobuf::protoc
IMPORTED_LOCATION_DEBUG) IMPORTED_LOCATION_DEBUG)
endif() endif()
if(NOT EXISTS "${Protobuf_PROTOC_EXECUTABLE}")
get_target_property(Protobuf_PROTOC_EXECUTABLE protobuf::protoc
IMPORTED_LOCATION_NOCONFIG)
endif()
# Version info variable # Version info variable
set(Protobuf_VERSION "@protobuf_VERSION@") set(Protobuf_VERSION "@protobuf_VERSION@")