File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 8
8
9
9
get_target_property (TBL_LINKED_LIBS LLVMSupport INTERFACE_LINK_LIBRARIES)
10
10
if (NOT TBL_LINKED_LIBS)
11
+ message (STATUS "No TBL_LINKED_LIBS found" )
11
12
else ()
12
- list (REMOVE_ITEM TBL_LINKED_LIBS "ZLIB::ZLIB" )
13
+ message (STATUS "TBL_LINKED_LIBS (test): ${TBL_LINKED_LIBS} " )
14
+ #list(REMOVE_ITEM TBL_LINKED_LIBS "ZLIB::ZLIB")
13
15
set_property (TARGET LLVMSupport PROPERTY INTERFACE_LINK_LIBRARIES ${TBL_LINKED_LIBS} )
14
16
endif ()
15
17
@@ -170,10 +172,10 @@ if (${ENZYME_EXTERNAL_SHARED_LIB})
170
172
string (STRIP "${llvm_ldflags} " llvm_ldflags)
171
173
message (STATUS "Linking against LLVM ldflags: ${llvm_ldflags} " )
172
174
set_target_properties (Enzyme-${LLVM_VERSION_MAJOR} PROPERTIES LINK_FLAGS ${llvm_ldflags} )
173
- target_link_libraries (Enzyme-${LLVM_VERSION_MAJOR} PRIVATE ${llvm_libraries} )
175
+ target_link_libraries (Enzyme-${LLVM_VERSION_MAJOR} ${llvm_libraries} )
174
176
175
177
llvm_map_components_to_libnames(llvm_librariess Passes Support)
176
- target_link_libraries (Enzyme-${LLVM_VERSION_MAJOR} PRIVATE ${llvm_librariess} )
178
+ target_link_libraries (Enzyme-${LLVM_VERSION_MAJOR} ${llvm_librariess} )
177
179
endif ()
178
180
install (TARGETS Enzyme-${LLVM_VERSION_MAJOR}
179
181
EXPORT EnzymeTargets
You can’t perform that action at this time.
0 commit comments