externalproject-install-prefixΒΆ

  • The ExternalProject_Add() command now sets CMAKE_INSTALL_PREFIX to the external project's INSTALL_DIR in 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 policy CMP0225.