From 8aabfc8ce4f6bcebb16cf53328baeb0f5f889ba4 Mon Sep 17 00:00:00 2001
From: Adrian Sampson <adrian@radbox.org>
Date: Thu, 30 Jul 2015 07:20:01 -0700
Subject: [PATCH] Require CMake 3.1 (fix #1)

---
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a72356b..abf90ea 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,6 @@
-find_package(LLVM REQUIRED CONFIG)
+cmake_minimum_required(VERSION 3.1)
 
+find_package(LLVM REQUIRED CONFIG)
 add_definitions(${LLVM_DEFINITIONS})
 include_directories(${LLVM_INCLUDE_DIRS})
 link_directories(${LLVM_LIBRARY_DIRS})
-- 
GitLab