I&#39;m working with 3 CMakeLists.txt files I didn&#39;t write, so I&#39;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&#39;s uses of LibC are undefined references. I tried adding TARGET_LINK_LIBRARY(LibC) to LibB&#39;s 
CMakeLists.txt file, but that didn&#39;t fix the error. Any ideas?<br>