projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb1107e
)
Copy LLVM CMake configuration for CMake Policy CMP0068
author
Eric Fiselier
<eric@efcs.ca>
Thu, 26 Jul 2018 05:08:30 +0000
(
05:08
+0000)
committer
Eric Fiselier
<eric@efcs.ca>
Thu, 26 Jul 2018 05:08:30 +0000
(
05:08
+0000)
llvm-svn: 338005
libcxx/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/libcxx/CMakeLists.txt
b/libcxx/CMakeLists.txt
index
1dd8725
..
2bffb19
100644
(file)
--- 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