^You have called ADD_LIBRARY for library TestStaticLibWithoutSources without any source files. This typically indicates a problem with your CMakeLists.txt file( CMake Error: Cannot determine link language for target \"TestStaticLibWithoutSources\".)?( CMake Error: CMake can not determine linker language for target: TestStaticLibWithoutSources)+$