Skip to content

Commit

Permalink
[interpreter] Add builtin_llvm's CMake modules
Browse files Browse the repository at this point in the history
This was naturally available before commit 92807f3 from LLVM's
configuration file.

Fixes root-project#13597
  • Loading branch information
hahnjo committed Sep 5, 2023
1 parent e7f6597 commit 18bbc88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interpreter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ if(builtin_llvm)
${CMAKE_BINARY_DIR}/interpreter/llvm-project/llvm/include
CACHE STRING "LLVM include directories."
)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/llvm-project/llvm/cmake/modules")
#---Set into parent scope LLVM_VERSION --------------------------------------------------------------
get_directory_property(_llvm_version DIRECTORY llvm-project/llvm DEFINITION LLVM_VERSION)
set(LLVM_VERSION "${_llvm_version}" PARENT_SCOPE)
Expand Down

0 comments on commit 18bbc88

Please sign in to comment.