Author: chapuni Date: Thu Jun 2 15:24:07 2016 New Revision: 271579 URL: http://llvm.org/viewvc/llvm-project?rev=271579&view=rev Log: clangFrontend: Make intrinsics_gen optional for standalone build.
FIXME: intrinsics_gen may be exported from llvm. Modified: cfe/trunk/lib/Frontend/CMakeLists.txt Modified: cfe/trunk/lib/Frontend/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CMakeLists.txt?rev=271579&r1=271578&r2=271579&view=diff ============================================================================== --- cfe/trunk/lib/Frontend/CMakeLists.txt (original) +++ cfe/trunk/lib/Frontend/CMakeLists.txt Thu Jun 2 15:24:07 2016 @@ -7,6 +7,11 @@ set(LLVM_LINK_COMPONENTS Support ) +set(optional_deps intrinsics_gen) +if (CLANG_BUILT_STANDALONE) + set(optional_deps) +endif() + add_clang_library(clangFrontend ASTConsumers.cpp ASTMerge.cpp @@ -44,7 +49,7 @@ add_clang_library(clangFrontend DEPENDS ClangDriverOptions - intrinsics_gen + ${optional_deps} LINK_LIBS clangAST _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits