Mercurial > libjeffpc
changeset 693:ff744171cfd1
cmake: make libjeffpc's dependancies private
By default, all libraries listed in target_link_libraries are used when
linking the target *and* any target that depends on it. In this case, it
meant that each of the test bins got linked against libexecinfo, etc.
Marking libjeffpc's deps as private will make cmake use them only when
linking libjeffpc but none of its consumers.
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Sat, 16 Mar 2019 22:16:44 -0400 |
parents | 2b82f7e7ee8e |
children | bcc31181a255 |
files | CMakeLists.txt |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff