From e6d05b65b285873563f3f70d58468da9191b8b9c Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Fri, 23 Oct 2015 07:04:24 +0000 Subject: [PATCH] Use proper output directory when naminging the libc++ output git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@251100 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index cdba0539..00e875e6 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -164,7 +164,7 @@ if (LIBCXX_INSTALL_LIBRARY) if (LIBCXX_ENABLE_ABI_LINKER_SCRIPT) # Replace the libc++ filename with $ # after we required CMake 3.0. - install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libc++${CMAKE_SHARED_LIBRARY_SUFFIX}" + install(FILES "${LIBCXX_LIBRARY_DIR}/libc++${CMAKE_SHARED_LIBRARY_SUFFIX}" DESTINATION lib${LIBCXX_LIBDIR_SUFFIX} COMPONENT libcxx) endif()