0

I have ABC project and BCD project. ABC needs libraries from BCD project. How to link those libraries to my ABC project.

ABC-
    |
    |-->Src
    |
    |-->Pre-build--> BCD

I tried with FIND_PACKAGE() and ADD_LIBRARY() but nothing seems to work

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
  • Just list the files (with their relative path) in your [`target_link_libraries`](https://cmake.org/cmake/help/latest/command/target_link_libraries.html) command? – Some programmer dude Mar 27 '23 at 07:11

0 Answers0