summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/CMakeLists.txt')
-rw-r--r--compiler-rt/lib/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/CMakeLists.txt b/compiler-rt/lib/CMakeLists.txt
index 72ab9b470d6..4961e2d0c20 100644
--- a/compiler-rt/lib/CMakeLists.txt
+++ b/compiler-rt/lib/CMakeLists.txt
@@ -19,6 +19,10 @@ function(add_clang_runtime_static_library)
set_target_properties(${ARGN} PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY ${CLANG_RUNTIME_LIB_DIR})
endfunction()
+function(add_clang_runtime_shared_library)
+ set_target_properties(${ARGN} PROPERTIES
+ LIBRARY_OUTPUT_DIRECTORY ${CLANG_RUNTIME_LIB_DIR})
+endfunction()
# First, add the subdirectories which contain feature-based runtime libraries
# and several convenience helper libraries.
OpenPOWER on IntegriCloud