If test is not added (due to no gtest present), dont try to link or add dependencies