2008-10-12 18:41:06 +02: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.
|
|
|
|
|
2013-03-16 19:13:01 +02:00
|
|
|
link_libraries( Two )
|
|
|
|
link_libraries( Five )
|
2008-10-12 18:41:06 +02:00
|
|
|
|
2013-03-16 19:13:01 +02:00
|
|
|
add_library( SixA SixASrc.c )
|
2008-10-12 18:41:06 +02:00
|
|
|
|
2013-03-16 19:13:01 +02:00
|
|
|
add_library( SixB SixBSrc.c )
|
|
|
|
target_link_libraries( SixB Four )
|
2008-10-12 18:41:06 +02:00
|
|
|
|