Skip to content

Help: INSTALL_PREFIX in install(CODE|SCRIPT) was added in CMake 3.27

Peter Kokot requested to merge petk/cmake:patch-install-prefix-versions into master

The INSTALL_PREFIX generator expression has been added in install(CODE) and install(SCRIPT) in version 3.27. This updates the docs a bit to make it clearer when writing code for CMake versions <= 3.26. https://cmake.org/cmake/help/latest/release/3.27.html

Topic-rename: doc-INSTALL_PREFIX

Edited by Brad King

Merge request reports