summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2015-10-23 07:04:24 +0000
committerEric Fiselier <eric@efcs.ca>2015-10-23 07:04:24 +0000
commitcae21e4b4ea2b16b5e31ccabb4e014c67558dfbd (patch)
treec10204a4ae32f81dddb4ac6f19f7b61df5656089 /libcxx
parent42801100e191fa626e158b448801e548c29effe7 (diff)
downloadbcm5719-llvm-cae21e4b4ea2b16b5e31ccabb4e014c67558dfbd.tar.gz
bcm5719-llvm-cae21e4b4ea2b16b5e31ccabb4e014c67558dfbd.zip
Use proper output directory when naminging the libc++ output
llvm-svn: 251100
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/lib/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/lib/CMakeLists.txt b/libcxx/lib/CMakeLists.txt
index cdba053929c..00e875e63b7 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 $<TARGET_LINKER_FILE:cxx>
# 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()
OpenPOWER on IntegriCloud