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})
8
8
add_definitions (${LLVM_DEFINITIONS_LIST} )
9
9
target_compile_definitions (shady_fe_llvm PRIVATE "LLVM_VERSION_MAJOR=${LLVM_VERSION_MAJOR} " )
10
10
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 )
14
14
else ()
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" )
16
16
endif ()
17
17
18
18
target_link_libraries (shady_fe_llvm PRIVATE api common shady )
You can’t perform that action at this time.
0 commit comments