bad dependancy in CMakeLists.txt for unit