[llvm-commits] [llvm] r119064 - /llvm/trunk/CMakeLists.txt
Frits van Bommel
fvbommel at gmail.com
Sun Nov 14 13:15:30 PST 2010
On Sun, Nov 14, 2010 at 9:52 PM, Oscar Fuentes <ofv at wanadoo.es> wrote:
> Frits van Bommel <fvbommel at gmail.com> writes:
> - if( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/*AsmPrinter.cpp )
> + file(GLOB ASMPRINTER_FILE ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/*AsmPrinter.cpp )
> + if( EXISTS ${ASMPRINTER_FILE} )
>
> This is 100% right either. In the case where zero or more than one files
> matches the glob expression, the semantics of if( EXISTS ... ) is not
> well defined. I'll commit a fix ASAP.
I suppose that figures :(.
However, currently no target (in-tree, at least) seems to have that
problem, so at least it fixed the build :).
More information about the llvm-commits
mailing list