PATH:IS_RELATIVE

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

Syntax

$<PATH:IS_RELATIVE,path>

Added in version 3.24.

Returns 1 if the path is relative according to cmake_path(IS_RELATIVE), 0 otherwise.