INSTALL_PREFIX¶
This generator expression belongs to the Export And Install Expressions family. See that section for related generator expressions.
Syntax¶
$<INSTALL_PREFIX>
Content of the install prefix when the target is exported via
install(EXPORT), or when evaluated in the
INSTALL_NAME_DIR property or the INSTALL_NAME_DIR argument of
install(RUNTIME_DEPENDENCY_SET), and empty otherwise.
Changed in version 3.27: Evaluates to the content of the install prefix
in the code argument of install(CODE) or
the file argument of install(SCRIPT).