[libcxx] r251100 - Use proper output directory when naminging the libc++ output

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 23 00:04:25 PDT 2015


Author: ericwf
Date: Fri Oct 23 02:04:24 2015
New Revision: 251100

URL: http://llvm.org/viewvc/llvm-project?rev=251100&view=rev
Log:
Use proper output directory when naminging the  libc++ output

Modified:
    libcxx/trunk/lib/CMakeLists.txt

Modified: libcxx/trunk/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/lib/CMakeLists.txt?rev=251100&r1=251099&r2=251100&view=diff
==============================================================================
--- libcxx/trunk/lib/CMakeLists.txt (original)
+++ libcxx/trunk/lib/CMakeLists.txt Fri Oct 23 02:04:24 2015
@@ -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()




More information about the cfe-commits mailing list