2002-05-02 00:24:47 +04:00
|
|
|
# In some projects, people don't use TARGET_LINK_LIBRARIES, but just
|
|
|
|
# use an all-encompassing LINK_LIBRARIES. And sometimes they don't
|
|
|
|
# specify them in the correct order.
|
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
link_libraries( Two )
|
|
|
|
link_libraries( Five )
|
2002-05-02 00:24:47 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
add_library( SixA SixASrc.c )
|
2002-05-02 00:24:47 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
add_library( SixB SixBSrc.c )
|
|
|
|
target_link_libraries( SixB Four )
|
2002-05-02 00:24:47 +04:00
|
|
|
|