We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa92c82 commit 50aae65Copy full SHA for 50aae65
src/frontends/llvm/CMakeLists.txt
@@ -11,8 +11,11 @@ target_compile_definitions(shady_fe_llvm PRIVATE "LLVM_VERSION_MAJOR=${LLVM_VERS
11
if (TARGET LLVM-C)
12
message("LLVM-C shared library target exists, major version = ${LLVM_VERSION_MAJOR}")
13
target_link_libraries(shady_fe_llvm PRIVATE LLVM-C)
14
+elseif (TARGET LLVM)
15
+ message("LLVM shared library target exists, major version = ${LLVM_VERSION_MAJOR}")
16
+ target_link_libraries(shady_fe_llvm PRIVATE LLVM)
17
else ()
- message(FATAL_ERROR "Failed to find LLVM-C target, but found LLVM module earlier")
18
+message(FATAL_ERROR "Failed to find LLVM-C target, but found LLVM module earlier")
19
endif()
20
21
target_link_libraries(shady_fe_llvm PRIVATE api common shady)
0 commit comments