File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ separate_arguments(LLVM_DEFINITIONS_LIST NATIVE_COMMAND ${LLVM_DEFINITIONS})
88add_definitions (${LLVM_DEFINITIONS_LIST} )
99target_compile_definitions (shady_fe_llvm PRIVATE "LLVM_VERSION_MAJOR=${LLVM_VERSION_MAJOR} " )
1010
11- if (TARGET LLVM)
12- message ("LLVM shared library target exists, major version = ${LLVM_VERSION_MAJOR} " )
13- target_link_libraries (shady_fe_llvm PRIVATE LLVM)
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 )
1414else ()
15- message (FATAL_ERROR "Failed to find LLVM target, but found LLVM module earlier" )
15+ message (FATAL_ERROR "Failed to find LLVM-C target, but found LLVM module earlier" )
1616endif ()
1717
1818target_link_libraries (shady_fe_llvm PRIVATE api common shady)
You can’t perform that action at this time.
0 commit comments