How do I access OculusRift plugin from my module?

As a work around to another problem I’m having , I’m trying to access OculusRift-specific member variables in my module. I’ve tried adding “OculusRift” to PublicDependencyModuleNames or PrivateDependencyModuleNames, and I’ve tried adding different paths to PublicIncludePaths and PrivateIncludePaths in my module’s Build.cs. I haven’t been able to find the right combination that lets me #include any OculusRift plugin header files.

How do I include an Engine plugin in my module? I know that my game-plugin module shouldn’t have a hard dependency on an Engine plugin, but this is a temporary work around.

Thank you.

May be is .Build.cs or .Target.cs and uproject config incorrect