[cmake-developers] Trying to access variable...

Brad King brad.king at kitware.com
Fri May 1 13:14:27 EDT 2015


On 05/01/2015 12:02 PM, Robert Goulet wrote:
> target->GetMakefile()->GetFeature("CMAKE_INCLUDE_INSTALL_TO_DEFAULT_BUILD", i->c_str());

GetFeature is unrelated to CMake language variables.
Use GetDefinition instead.

-Brad



More information about the cmake-developers mailing list