llvm.org GIT mirror llvm / 8c46e85
Enable PACKAGE_VERSION in cmake builds, this unbreaks the clang build with cmake. Patch by Piotr Rak! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63213 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 11 years ago
2 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
11 cmake_minimum_required(VERSION 2.6.1)
22
33 set(PACKAGE_NAME llvm)
4 set(PACKAGE_VERSION svn)
4 set(PACKAGE_VERSION 2.6svn)
5 set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
56 set(PACKAGE_BUGREPORT "llvmbugs@cs.uiuc.edu")
67
78 if( CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT MSVC_IDE )
506506 #cmakedefine PACKAGE_NAME "${PACKAGE_NAME}"
507507
508508 /* Define to the full name and version of this package. */
509 #undef PACKAGE_STRING
509 #cmakedefine PACKAGE_STRING "${PACKAGE_STRING}"
510510
511511 /* Define to the one symbol short name of this package. */
512512 #undef PACKAGE_TARNAME