PATH:IS_ABSOLUTE

This generator expression belongs to the Path Queries family. See that section for related generator expressions.

Syntax

$<PATH:IS_ABSOLUTE,path>

Added in version 3.24.

Returns 1 if the path is absolute according to cmake_path(IS_ABSOLUTE), 0 otherwise.