Copy LLVM CMake configuration for CMake Policy CMP0068

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@338005 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2018-07-26 05:08:30 +00:00
parent 8928a12b4e
commit 14535e3ad6

View File

@@ -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