Index: llvm/trunk/CMakeLists.txt =================================================================== --- llvm/trunk/CMakeLists.txt +++ llvm/trunk/CMakeLists.txt @@ -7,6 +7,10 @@ set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON) endif() +if(POLICY CMP0075) + cmake_policy(SET CMP0075 NEW) +endif() + if(NOT DEFINED LLVM_VERSION_MAJOR) set(LLVM_VERSION_MAJOR 8) endif()