Fix utf8_range cmake error message

pull/11608/head
Mike Kruskal 2 years ago
parent 163e31a413
commit 4dd7ebbba1
  1. 6
      cmake/utf8_range.cmake

@ -2,10 +2,8 @@ set(utf8_range_ENABLE_TESTS OFF CACHE BOOL "Disable utf8_range tests")
if (NOT EXISTS "${protobuf_SOURCE_DIR}/third_party/utf8_range/CMakeLists.txt")
message(FATAL_ERROR
"Cannot find third_party/utf8_range directory that's needed to "
"build conformance tests. If you use git, make sure you have cloned "
"submodules:\n"
" git submodule update --init --recursive\n")
"Cannot find third_party/utf8_range directory that's needed for "
"the protobuf runtime.\n")
endif()
set(utf8_range_ENABLE_INSTALL ${protobuf_INSTALL} CACHE BOOL "Set install")

Loading…
Cancel
Save