summaryrefslogtreecommitdiff
path: root/cmake
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
commit2b45eeb7510336cc323eacb6375bc94d39b8e2e5 (patch)
tree72da441954bd77cb20410e459f1d6dcab42db7d6 /cmake
parent9af7b0f8c2c4f2b44d6ad44f94264e5f7860c453 (diff)
downloadclang-2b45eeb7510336cc323eacb6375bc94d39b8e2e5.tar.gz
[clang-fuzzer] Include ExternalProject before using it.
Some versions of CMake require ExternalProject to be included before we can use ExternalProject_Add. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/ProtobufMutator.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/ProtobufMutator.cmake b/cmake/modules/ProtobufMutator.cmake
index 5f23f33f4c..15fe95ed6e 100644
--- a/cmake/modules/ProtobufMutator.cmake
+++ b/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)