'Unknown CMake command "compileTargetAsC99", C-Logging

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



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source