[libcxx] r280042 - Fix syntax error in recent CMake change.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 29 18:10:34 PDT 2016


Author: ericwf
Date: Mon Aug 29 20:10:33 2016
New Revision: 280042

URL: http://llvm.org/viewvc/llvm-project?rev=280042&view=rev
Log:
Fix syntax error in recent CMake change.

Modified:
    libcxx/trunk/lib/CMakeLists.txt

Modified: libcxx/trunk/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/lib/CMakeLists.txt?rev=280042&r1=280041&r2=280042&view=diff
==============================================================================
--- libcxx/trunk/lib/CMakeLists.txt (original)
+++ libcxx/trunk/lib/CMakeLists.txt Mon Aug 29 20:10:33 2016
@@ -106,7 +106,7 @@ if ( APPLE AND (LIBCXX_CXX_ABI_LIBNAME S
       "/usr/lib/libSystem.B.dylib")
   else()
     if (DEFINED CMAKE_OSX_SYSROOT)
-      list(FIND ${CMAKE_OSX_ARCHITECTURES} "armv7" OSX_HAS_ARMV7)
+      list(FIND CMAKE_OSX_ARCHITECTURES "armv7" OSX_HAS_ARMV7)
       if (NOT OSX_HAS_ARMV7 EQUAL -1)
         set(OSX_RE_EXPORT_LINE
           "${CMAKE_OSX_SYSROOT}/usr/lib/libc++abi.dylib"




More information about the cfe-commits mailing list