use new ENABLE_DPLUGIN cmake option

Authored by cgilles on May 29 2020, 1:02 PM.