summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2017-04-13 16:27:38 +0000
committerShoaib Meenai <smeenai@fb.com>2017-04-13 16:27:38 +0000
commit6170765a3cf14efa7ee267a6169cefae1f7d1362 (patch)
tree79c6a10791cfdb8a6031a0a2849930d15d3d1842
parent90df1f48d56657586f77eb7e6e747866105937fd (diff)
downloadbcm5719-llvm-6170765a3cf14efa7ee267a6169cefae1f7d1362.tar.gz
bcm5719-llvm-6170765a3cf14efa7ee267a6169cefae1f7d1362.zip
[libc++] Explicitly set output directory for DLL
DLLs on Windows are treated as runtime targets. Explicitly set the output directory for them, to be consistent with other platforms. llvm-svn: 300206
-rw-r--r--libcxx/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt
index 53904a16aa6..9c16dbed524 100644
--- a/libcxx/CMakeLists.txt
+++ b/libcxx/CMakeLists.txt
@@ -347,6 +347,7 @@ file(MAKE_DIRECTORY "${LIBCXX_BINARY_INCLUDE_DIR}")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${LIBCXX_LIBRARY_DIR})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${LIBCXX_LIBRARY_DIR})
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LIBCXX_LIBRARY_DIR})
# Declare libc++ configuration variables.
# They are intended for use as follows:
OpenPOWER on IntegriCloud