File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -136,11 +136,17 @@ if(PROX_STATIC_BUILD)
136136 if (LLVM_FOUND)
137137 target_link_libraries (ir_gen_test PRIVATE ${llvm_libs} )
138138 endif ()
139+ if (LIBFFI_FOUND)
140+ target_link_libraries (ir_gen_test PRIVATE ${LIBFFI_LIBRARIES} )
141+ endif ()
139142else ()
140143 target_link_libraries (ir_gen_test PRIVATE proxpl_lib )
141144 if (LLVM_FOUND)
142145 target_link_libraries (ir_gen_test PRIVATE ${llvm_libs} )
143146 endif ()
147+ if (LIBFFI_FOUND)
148+ target_link_libraries (ir_gen_test PRIVATE ${LIBFFI_LIBRARIES} )
149+ endif ()
144150endif ()
145151
146152# --- LLVM Gen Test Executable ---
@@ -151,8 +157,14 @@ if(PROX_STATIC_BUILD)
151157 if (LLVM_FOUND)
152158 target_link_libraries (llvm_gen_test PRIVATE ${llvm_libs} )
153159 endif ()
160+ if (LIBFFI_FOUND)
161+ target_link_libraries (llvm_gen_test PRIVATE ${LIBFFI_LIBRARIES} )
162+ endif ()
154163else ()
155164 target_link_libraries (llvm_gen_test PRIVATE proxpl_lib ${llvm_libs} )
165+ if (LIBFFI_FOUND)
166+ target_link_libraries (llvm_gen_test PRIVATE ${LIBFFI_LIBRARIES} )
167+ endif ()
156168endif ()
157169
158170# --- PRM Executable ---
You can’t perform that action at this time.
0 commit comments