Doc: CMAKE_INSTALL_PREFIX is not added to CMAKE_SYSTEM_PREFIX_PATH when manually set
I am overriding CMAKE_INSTALL_PREFIX
as described in here. According to this it should show up in CMAKE_SYSTEM_PREFIX_PATH
, but in never does because this setter is called when project()
is processed, but manual setting happens after project()
. The documentation is only correct when I set via CLI: cmake -DCMAKE_INSTALL_PREFIX=...
.
Please clarify this via documentation when the CMAKE_INSTALL_PREFIX
is really added to CMAKE_SYSTEM_PREFIX_PATH
.
I am on CMake 3.9.6.
Edited by Brad King