[PATCH] D18007: [test-suite] Use target_link_libraries for libs

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 9 13:01:33 PST 2016


MatzeB added a comment.

Have you tried what happens when we change the append_link_flags macro to:

  macro(append_link_flags target)
    append_target_flags(LINK_LIBRARIES ${target} ${ARGN})
  endmacro()

My understanding from the cmake docu is that those get appended after the object files, what is not clear to me from the docu is whether we get the same stupid behavior as target_link_libraries() but I think there is a chance that the target property is just appended without cmake trying to be smart...


http://reviews.llvm.org/D18007





More information about the llvm-commits mailing list