NOT TARGET meaning?

The TARGET operator means “is the following argument the name of a CMake target”. In this case, if(NOT TARGET JSONUtils::JSONUtils) evaluates to true if there is no target called JSONUtils::JSONUtils.

1 Like