I'm working with 3 CMakeLists.txt files I didn't write, so I'm trying to figure out the reasoning behind them. <br><br>-Application A has a CMakeLists.txt file with TARGET_LINK_LIBARIES(LibB, LibC).<br>-LibB and LibC each have their own subfolders and
CMakeLists.txt file, and use ADD_LIBRARY to declare their sources to be a library.<br>-LibB uses some classes defined in LibC.<br><br>Under windows, I can run cmake, compile and link without errors. On Linux, I get linker errors that LibB's uses of LibC are undefined references. I tried adding TARGET_LINK_LIBRARY(LibC) to LibB's
CMakeLists.txt file, but that didn't fix the error. Any ideas?<br>