Trouble with enums in ThirdParty lib

I’ve made a little progress and I’ve noticed that if I set the enum in the same file as where I am trying to use it, it works. If i add it to a separate header file and include that header file it doesn’t.