diff options
| author | Brad King <brad.king@kitware.com> | 2014-06-25 13:13:53 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2014-06-25 13:18:27 (GMT) |
| commit | 3bae343f62e050da78476811234e1f8a055f5d04 (patch) | |
| tree | a140ce7cb73774b5cc53496ed0382b50adc913b7 /Tests/Tutorial/Step7/MathFunctions/MathFunctions.h | |
| parent | c491cb1eb4030d70e7a04bcda5021ebd0e5ca88d (diff) | |
| download | CMake-3bae343f62e050da78476811234e1f8a055f5d04.zip CMake-3bae343f62e050da78476811234e1f8a055f5d04.tar.gz CMake-3bae343f62e050da78476811234e1f8a055f5d04.tar.bz2 | |
cmCPackGenerator: Avoid crash on undefined CMAKE_MAKE_PROGRAM
Since commit 6557382d (stringapi: Use strings for program
paths, 2014-02-24), cmGlobalGenerator::GenerateBuildCommand
takes the make program path as a std::string. Fix the lookup
in cmCPackGenerator::InstallProjectViaInstallCMakeProjects to
use GetSafeDefinition for CMAKE_MAKE_PROGRAM to avoid possible
construction of std::string from a NULL.
Reported-by: Richard Wirth <richard@califax.de>
Diffstat (limited to 'Tests/Tutorial/Step7/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions
