Skip to content

Commit

Permalink
Update the LLVM version in the Windows CMake script
Browse files Browse the repository at this point in the history
My CI on Windows has been failing for various reasons for the past few
months and I didn't notice this when updating llvm-tutor to LLVM 11.

Support for Windows remains "experimental".
  • Loading branch information
banach-space committed Nov 15, 2020
1 parent 276c7ef commit 7581d41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HelloWorld/CMakeLists.txt_for_windows
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# required for Windows only.
#===============================================================================

cmake_minimum_required(VERSION 3.4.3)
cmake_minimum_required(VERSION 3.13.4)
project(llvm-tutor-hello-world)

#===============================================================================
Expand All @@ -17,7 +17,7 @@ set(LT_LLVM_INSTALL_DIR "" CACHE PATH "LLVM installation directory")
# find_package can locate it)
list(APPEND CMAKE_PREFIX_PATH "${LT_LLVM_INSTALL_DIR}/lib/cmake/llvm/")

find_package(LLVM 10.0.0 REQUIRED CONFIG)
find_package(LLVM 11.0.0 REQUIRED CONFIG)

# HelloWorld includes headers from LLVM - update the include paths accordingly
include_directories(${LLVM_INCLUDE_DIRS})
Expand Down

0 comments on commit 7581d41

Please sign in to comment.