Skip to content

Commit

Permalink
Fix building clang after #65 / 25a69a1 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgehre-amd authored Sep 15, 2023
1 parent 7edad39 commit cc21df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/cmake/modules/AddClang.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ endmacro()

function(clang_target_link_libraries target type)
if (TARGET obj.${target})
target_link_libraries(obj.${target} ${ARGN})
target_link_libraries(obj.${target} PUBLIC ${ARGN})
endif()

get_property(LLVM_DRIVER_TOOLS GLOBAL PROPERTY LLVM_DRIVER_TOOLS)
Expand Down

0 comments on commit cc21df1

Please sign in to comment.