From 7e65a3c9c88fd684fbc9d248a67aa386eba0a85c Mon Sep 17 00:00:00 2001 From: Michelle McDaniel Date: Tue, 24 Mar 2015 10:45:22 -0700 Subject: [PATCH] Make CMake 2.8.12 default version LLVM changed to make CMake 2.8.12 to be the default, so we need to follow suit. --- CMakeLists.txt | 2 +- lib/Jit/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d3c61d7..359212e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # If we are not building as a part of LLVM, build LLILCJit as an # standalone project, using LLVM as an external library: if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR ) - cmake_minimum_required(VERSION 2.8.8) + cmake_minimum_required(VERSION 2.8.12) project(LLILC) if( APPLE ) diff --git a/lib/Jit/CMakeLists.txt b/lib/Jit/CMakeLists.txt index e73aecc..9945953 100644 --- a/lib/Jit/CMakeLists.txt +++ b/lib/Jit/CMakeLists.txt @@ -60,6 +60,6 @@ add_dependencies(llilcjit LLILCReader) target_link_libraries( llilcjit - ${cmake_2_8_12_PRIVATE} + PRIVATE ${LLILCJIT_LINK_LIBRARIES} )