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} )