Enable PACKAGE_VERSION in cmake builds, this unbreaks the clang build with cmake.

Patch by Piotr Rak!

llvm-svn: 63213
This commit is contained in:
Chris Lattner 2009-01-28 17:49:03 +00:00
parent 4aa1846215
commit ff2d99d94b
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,8 @@ project(LLVM)
cmake_minimum_required(VERSION 2.6.1)
set(PACKAGE_NAME llvm)
set(PACKAGE_VERSION svn)
set(PACKAGE_VERSION 2.6svn)
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
set(PACKAGE_BUGREPORT "llvmbugs@cs.uiuc.edu")
if( CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT MSVC_IDE )

View File

@ -507,7 +507,7 @@
#cmakedefine PACKAGE_NAME "${PACKAGE_NAME}"
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
#cmakedefine PACKAGE_STRING "${PACKAGE_STRING}"
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME