forked from OSchip/llvm-project
Copy LLVM CMake configuration for CMake Policy CMP0068
llvm-svn: 338005
This commit is contained in:
parent
cb1107ed14
commit
6a10864d44
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue