[llvm-commits] [llvm] r63213 - in /llvm/trunk: CMakeLists.txt include/llvm/Config/config.h.cmake
Chris Lattner
sabre at nondot.org
Wed Jan 28 09:49:03 PST 2009
Author: lattner
Date: Wed Jan 28 11:49:03 2009
New Revision: 63213
URL: http://llvm.org/viewvc/llvm-project?rev=63213&view=rev
Log:
Enable PACKAGE_VERSION in cmake builds, this unbreaks the clang build with cmake.
Patch by Piotr Rak!
Modified:
llvm/trunk/CMakeLists.txt
llvm/trunk/include/llvm/Config/config.h.cmake
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=63213&r1=63212&r2=63213&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Wed Jan 28 11:49:03 2009
@@ -2,7 +2,8 @@
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 at cs.uiuc.edu")
if( CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT MSVC_IDE )
Modified: llvm/trunk/include/llvm/Config/config.h.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Config/config.h.cmake?rev=63213&r1=63212&r2=63213&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Config/config.h.cmake (original)
+++ llvm/trunk/include/llvm/Config/config.h.cmake Wed Jan 28 11:49:03 2009
@@ -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
More information about the llvm-commits
mailing list