r357803 - [clang-fuzzer] Include ExternalProject before using it.
Matt Morehouse via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 5 12:47:17 PDT 2019
Author: morehouse
Date: Fri Apr 5 12:47:17 2019
New Revision: 357803
URL: http://llvm.org/viewvc/llvm-project?rev=357803&view=rev
Log:
[clang-fuzzer] Include ExternalProject before using it.
Some versions of CMake require ExternalProject to be included before we
can use ExternalProject_Add.
Modified:
cfe/trunk/cmake/modules/ProtobufMutator.cmake
Modified: cfe/trunk/cmake/modules/ProtobufMutator.cmake
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/cmake/modules/ProtobufMutator.cmake?rev=357803&r1=357802&r2=357803&view=diff
==============================================================================
--- cfe/trunk/cmake/modules/ProtobufMutator.cmake (original)
+++ cfe/trunk/cmake/modules/ProtobufMutator.cmake Fri Apr 5 12:47:17 2019
@@ -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)
More information about the cfe-commits
mailing list