summaryrefslogtreecommitdiffstats
path: root/clang/cmake/modules
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2019-04-05 19:47:17 +0000
committerMatt Morehouse <mascasa@google.com>2019-04-05 19:47:17 +0000
commit59df934b3a8c298e67de7abd10d1db0a926db937 (patch)
treeab9558095bdd7d7ac267f3ebd1362af370db89a7 /clang/cmake/modules
parent80aa2290fb02386579e5d7b0a1d8ce3691fd88da (diff)
downloadbcm5719-llvm-59df934b3a8c298e67de7abd10d1db0a926db937.tar.gz
bcm5719-llvm-59df934b3a8c298e67de7abd10d1db0a926db937.zip
[clang-fuzzer] Include ExternalProject before using it.
Some versions of CMake require ExternalProject to be included before we can use ExternalProject_Add. llvm-svn: 357803
Diffstat (limited to 'clang/cmake/modules')
-rw-r--r--clang/cmake/modules/ProtobufMutator.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/cmake/modules/ProtobufMutator.cmake b/clang/cmake/modules/ProtobufMutator.cmake
index 5f23f33f4c7..15fe95ed6e8 100644
--- a/clang/cmake/modules/ProtobufMutator.cmake
+++ b/clang/cmake/modules/ProtobufMutator.cmake
@@ -1,3 +1,4 @@
+include(ExternalProject)
set(PBM_PREFIX protobuf_mutator)
set(PBM_PATH ${CMAKE_CURRENT_BINARY_DIR}/${PBM_PREFIX}/src/${PBM_PREFIX})
set(PBM_LIB_PATH ${PBM_PATH}-build/src/libprotobuf-mutator.a)
OpenPOWER on IntegriCloud