From 20826a37eec7aa278c59f708eccd3260fe02716c Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Mon, 4 Mar 2024 09:36:53 +0000 Subject: [PATCH] [cmake] Work around a bug in the llvm config. In short we use variables which require including `GNUInstallDirs` but we are expecting somebody else to include it for us. See llvm/llvm-project#83802 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index abe8adf64..7e6648ddf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 3.7.0) +include(GNUInstallDirs) + if(POLICY CMP0075) cmake_policy(SET CMP0075 NEW) endif()