From cae21e4b4ea2b16b5e31ccabb4e014c67558dfbd 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 llvm-svn: 251100 --- libcxx/lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/lib/CMakeLists.txt b/libcxx/lib/CMakeLists.txt index cdba053929cf..00e875e63b73 100644 --- a/libcxx/lib/CMakeLists.txt +++ b/libcxx/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()