From: Don Hinton Date: Tue, 21 May 2019 18:15:01 +0000 (+0000) Subject: [cmake] Bug in r361281: make include optional and fix typo which might make a differe... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0b07500dd76bcb6bf2a618c582def92b5829d67;p=llvm [cmake] Bug in r361281: make include optional and fix typo which might make a difference on some systems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361282 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index 7b61f9de130..9a8842cf6e5 100644 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -555,7 +555,7 @@ set(LLVM_BINUTILS_INCDIR "" CACHE PATH "PATH to binutils/include containing plugin-api.h for gold plugin.") if(CMAKE_GENERATOR STREQUAL "Ninja") - include(CMakeNInjaFindMake) + include(CMakeNinjaFindMake OPTIONAL) if(CMAKE_MAKE_PROGRAM) execute_process(COMMAND ${CMAKE_MAKE_PROGRAM} --version OUTPUT_VARIABLE NINJA_VERSION