[cfe-commits] r63168 - /cfe/trunk/Driver/clang.cpp

Hi,

This commit braeks cmake build for me. PACKAGE_STRING is not set by
llvm toplevel CMakeList.txt, and later defined by
'include/llvm/Config/config.h.cmake'.
I also changed PACKAGE_VERSION to match with one from 'configure.ac'.

Attached fix (for llvm).

Piotr

cmake_package_string.diff (923 Bytes)

Applied, many thanks!

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090126/072818.html

-Chris

Hi Piortr,

This also breaks the hand-built VC++ project.

Any clues on where I should define this?

Thanks,

snaroff

Hi Steve,

No idea, sorry, I use linux x86 now.
There must be some way to generate correct llvm/config.h there though.
Maybe you should check PACKAGE_VERSION and similar is done there?

Piotr