summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-07-26 05:08:30 +0000
committerEric Fiselier <eric@efcs.ca>2018-07-26 05:08:30 +0000
commit6a10864d442830fdcf20f16683753db6a691f888 (patch)
tree6b3ab0c53ce84287fafc3deb94676d11e15e6cdd /libcxx
parentcb1107ed148dc41fc8c87c61773ada93f6238c3a (diff)
downloadbcm5719-llvm-6a10864d442830fdcf20f16683753db6a691f888.tar.gz
bcm5719-llvm-6a10864d442830fdcf20f16683753db6a691f888.zip
Copy LLVM CMake configuration for CMake Policy CMP0068
llvm-svn: 338005
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt
index 1dd8725c43c..2bffb19acf2 100644
--- a/libcxx/CMakeLists.txt
+++ b/libcxx/CMakeLists.txt
@@ -11,6 +11,10 @@ endif()
if(POLICY CMP0022)
cmake_policy(SET CMP0022 NEW) # Required when interacting with LLVM and Clang
endif()
+if(POLICY CMP0068)
+ cmake_policy(SET CMP0068 NEW)
+ set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON)
+endif()
# Add path for custom modules
set(CMAKE_MODULE_PATH
OpenPOWER on IntegriCloud