0

I'm trying to make ctest work on my Ubuntu installation, and for that I need c-logging (https://github.com/Azure/c-logging). When I clone the repository and attempt to cmake .., I get the error

CMake Error at CMakeLists.txt:167 (compileTargetAsC99):
  Unknown CMake command "compileTargetAsC99".

Here is a pastebin of CMake error file: https://pastebin.com/1WE6B3y0

Thanks

  • You need to clone the repository **with submodules**: https://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodules. Make sure that `deps/` subdirectory is not empty. – Tsyvarev Apr 07 '22 at 09:59

0 Answers0