Index: llvm/CMakeLists.txt =================================================================== --- llvm/CMakeLists.txt +++ llvm/CMakeLists.txt @@ -6,12 +6,7 @@ cmake_policy(SET CMP0048 NEW) -# CMake 3.1 and higher include generator expressions of the form -# $ in the SOURCES property. These need to be -# stripped everywhere that access the SOURCES property, so we just -# defer to the OLD behavior of not including generator expressions -# in the output for now. -cmake_policy(SET CMP0051 OLD) +cmake_policy(SET CMP0051 NEW) cmake_policy(SET CMP0056 NEW)