Skip to content
  • Brad King's avatar
    CPack: Fix crash on invalid generator name · 6f2701ab
    Brad King authored
    In commit v3.11.0-rc1~68^2 (CPack: accept --trace and --trace-expand,
    2017-12-09) a nullptr dereference was added that occurs when
    `cpack -G NotAGenerator` is invoked.  Add the needed condition.
    
    Fixes: #17900
    6f2701ab