summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a9ee737..8fe0411 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,6 +10,10 @@ endif()
if (NOT IWYU_IN_TREE)
cmake_policy(SET CMP0048 NEW)
+ if (POLICY CMP0077)
+ cmake_policy(SET CMP0077 NEW)
+ endif()
+
project(include-what-you-use)
find_package(LLVM CONFIG REQUIRED)