Add new search path for utf8_range in CMake build

This will allow us to run the CMake test from within the protobuf repo's Bazel
workspace. The directory structure is a little bit different depending on which
workspace the test is invoked in.

PiperOrigin-RevId: 557275295
pull/13675/head^2
Adam Cozzette 2 years ago committed by Copybara-Service
parent 713e18e56d
commit e02b6a9335
  1. 2
      cmake/make_cmakelists.py

@ -366,6 +366,8 @@ class Converter(object):
if(EXISTS ../external/utf8_range)
# utf8_range is already installed
include_directories(../external/utf8_range)
elseif(EXISTS ../../utf8_range)
include_directories(../../utf8_range)
else()
include(FetchContent)
FetchContent_Declare(

Loading…
Cancel
Save