cmNinjaTargetGenerator: use scan flag for modmap usage in exported commands

See: https://discourse.cmake.org/t/how-to-control-the-location-of-the-c-20-binary-module-interface-bmi-output-directory/7968
2 files changed