File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 88
99get_target_property (TBL_LINKED_LIBS LLVMSupport INTERFACE_LINK_LIBRARIES)
1010if (NOT TBL_LINKED_LIBS)
11+ message (STATUS "No TBL_LINKED_LIBS found" )
1112else ()
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")
1315set_property (TARGET LLVMSupport PROPERTY INTERFACE_LINK_LIBRARIES ${TBL_LINKED_LIBS} )
1416endif ()
1517
@@ -170,10 +172,10 @@ if (${ENZYME_EXTERNAL_SHARED_LIB})
170172 string (STRIP "${llvm_ldflags} " llvm_ldflags)
171173 message (STATUS "Linking against LLVM ldflags: ${llvm_ldflags} " )
172174 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} )
174176
175177 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} )
177179 endif ()
178180 install (TARGETS Enzyme-${LLVM_VERSION_MAJOR}
179181 EXPORT EnzymeTargets
You can’t perform that action at this time.
0 commit comments