]> granicus.if.org Git - clang/commitdiff
[clang-fuzzer] Include ExternalProject before using it.
authorMatt Morehouse <mascasa@google.com>
Fri, 5 Apr 2019 19:47:17 +0000 (19:47 +0000)
committerMatt Morehouse <mascasa@google.com>
Fri, 5 Apr 2019 19:47:17 +0000 (19:47 +0000)
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

cmake/modules/ProtobufMutator.cmake

index 5f23f33f4c73799c8c2cd4aa09c3ff7b2c48ee84..15fe95ed6e8e9d425baf2f81dd5bb1e1dd3ca8d2 100644 (file)
@@ -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)