• Pierre Rossi's avatar
    Make ninja detection a bit more robust · 8fd262f1
    Pierre Rossi authored
    Having ninja in the PATH should be good enough.
    If that didn't work, we try to find it in the most logical location
    relative to CHROMIUM_SRC_DIR and bail out otherwise.
    Since it seems unlikely to vary, and can be convenient to keep persistent,
    we put it in .qmake.cache if qmake uses a cache.
    8fd262f1