Is there a way to access the final (potentially overrriden) CMAKE_INSTALL_PREFIX inside a
code/script in install(CODE ...) or install(SCRIPT script.cmake ...).
Because we have custom code which hardbakes the install-prefix at configure time, but when user do cmake --install --prefix=blabla the above install(CODE ... ) will not notice this…