- drop the externals and let the projects depend on a "LibraryA" target being defined (you need to use the add_subdirectory call for it to the fron then - find a way to test in LibraryA/CMakeLists.txt wether its under ProjectA, ProjectB or project and adjust the target name then. Andreas -- Questionable day. Ask somebody something.