ExternalProject passes generator but not make command
ExternalProject
passes the generator of the main project to the external project when CMake is used there. But it doesn't pass CMAKE_MAKE_PROGRAM
. So if the desired tool is not found via the regular PATH
, but was supplied explicitly to the main project, the configuration of the exernal project fails. This forces the user to change the PATH
before building the main project, which can have other undesired side effects.
Edited by Kai Pastor