[CMake] Determining appropriate CMAKE_MINIMUM_REQUIRED

Stephen Kelly steveire at gmail.com
Thu Feb 6 17:58:15 EST 2014


Alan W. Irwin wrote:

> I assume you could do
> that by including a common file in each of your subprojects, but I
> have never had to do that (my project only has two calls to
> cmake_minimum_required which are easy to keep in synch manually) so I
> will let others comment on details of the implementation.

You would need to consider the NO_POLICY_SCOPE argument to include() and 
whether it is needed.

Thanks,

Steve.




More information about the CMake mailing list