externalproject-install-prefixΒΆ
The
ExternalProject_Add()command now setsCMAKE_INSTALL_PREFIXto the external project'sINSTALL_DIRin its default configure command, so a CMake external project installs into the prefix the module reserves for it rather than the built-in default (e.g./usr/local). A caller-supplied prefix still takes precedence. See policyCMP0225.