Skip to content

Commit

Permalink
[cmake] Work around a bug in the llvm config.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vgvassilev committed Mar 4, 2024
1 parent f242077 commit 20826a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.7.0)

include(GNUInstallDirs)

if(POLICY CMP0075)
cmake_policy(SET CMP0075 NEW)
endif()
Expand Down

0 comments on commit 20826a3

Please sign in to comment.