[CMake] Use LIBCXXABI_LIBDIR_SUFFIX in libc++abi build
authorPetr Hosek <phosek@chromium.org>
Wed, 25 Jul 2018 16:51:00 +0000 (16:51 +0000)
committerPetr Hosek <phosek@chromium.org>
Wed, 25 Jul 2018 16:51:00 +0000 (16:51 +0000)
This was changed unintentionally in r335809.

Differential Revision: https://reviews.llvm.org/D49765

llvm-svn: 337937

libcxxabi/CMakeLists.txt

index 764627a..15207bb 100644 (file)
@@ -179,7 +179,7 @@ if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE)
 elseif(LLVM_LIBRARY_OUTPUT_INTDIR)
   set(LIBCXXABI_LIBRARY_DIR ${LLVM_LIBRARY_OUTPUT_INTDIR})
 else()
-  set(LIBCXXABI_LIBRARY_DIR ${CMAKE_BINARY_DIR}/lib${LIBCXX_LIBDIR_SUFFIX})
+  set(LIBCXXABI_LIBRARY_DIR ${CMAKE_BINARY_DIR}/lib${LIBCXXABI_LIBDIR_SUFFIX})
 endif()
 
 set(LIBCXXABI_INSTALL_PREFIX ${DEFAULT_INSTALL_PREFIX} CACHE STRING