[CMake] NFC. Missed the other uses in r280406
authorChris Bieneman <beanz@apple.com>
Thu, 1 Sep 2016 19:47:39 +0000 (19:47 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 1 Sep 2016 19:47:39 +0000 (19:47 +0000)
Doh! Obviously need to slow down.

llvm-svn: 280407

libcxx/cmake/Modules/HandleOutOfTreeLLVM.cmake

index 349d234..28ff854 100644 (file)
@@ -67,10 +67,10 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
   # The intent is that this doesn't necessarily mean the LLVM is installed (it
   # could be a build directory), but it means we need to treat the LLVM
   # directory as read-only.
-  set(LIBCXX_USING_INSTLLED_LLVM 1)
+  set(LIBCXX_USING_INSTALLED_LLVM 1)
 endif()
 
-if (LIBCXX_USING_INSTLLED_LLVM OR LIBCXX_STANDALONE_BUILD)
+if (LIBCXX_USING_INSTALLED_LLVM OR LIBCXX_STANDALONE_BUILD)
   set(LIBCXX_STANDALONE_BUILD 1)
   message(STATUS "Configuring for standalone build.")