[cfe-commits] r117110 - /cfe/trunk/lib/Basic/CMakeLists.txt

Oscar Fuentes ofv at wanadoo.es
Fri Oct 22 10:16:39 PDT 2010


Author: ofv
Date: Fri Oct 22 12:16:39 2010
New Revision: 117110

URL: http://llvm.org/viewvc/llvm-project?rev=117110&view=rev
Log:
Don't try to guess svn version when current path is a symlink.

See PR 8473.

Modified:
    cfe/trunk/lib/Basic/CMakeLists.txt

Modified: cfe/trunk/lib/Basic/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/CMakeLists.txt?rev=117110&r1=117109&r2=117110&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/CMakeLists.txt (original)
+++ cfe/trunk/lib/Basic/CMakeLists.txt Fri Oct 22 12:16:39 2010
@@ -17,7 +17,9 @@
 # Determine Subversion revision.
 # FIXME: This only gets updated when CMake is run, so this revision number
 # may be out-of-date!
-find_package(Subversion)
+if( NOT IS_SYMLINK "${CLANG_SOURCE_DIR}" )  # See PR 8437
+  find_package(Subversion)
+endif()
 if (Subversion_FOUND AND EXISTS "${CLANG_SOURCE_DIR}/.svn")
   Subversion_WC_INFO(${CLANG_SOURCE_DIR} CLANG)
   set_source_files_properties(Version.cpp





More information about the cfe-commits mailing list