Does fungal growth affect buildings?

Solution 1:

Unburrowed spine/spore-crawlers and flying terran buildings still count as buildings, their attributes do not change (unlike warcraft 3).

Solution 2:

No it does not:

The Infestor's Fungal Growth affects only enemy units within the area of effect, immobilizing them and dealing 36 (+30% to armored) damage.

Source: Liquipedia