How do I add build thirdparty library? build error C4668:

hello i am new to programming and with ue4. and I’m trying to add the imageMagick Magick ++ library to my project. However I am unable to add the library to my project.

I put the lib in the folder:
[Project Name] / Third Party / ImageMagick / lib

I put the include in the folder:
[ProjectName] / ThirdParty / ImageMagick / include

I put all the dll in the folde:
[ProjectName]/Binaries/Win64/

My code seems to recognize, but when I put the magick ++ header it gives the error

Output:
error C4668: ‘GNUC’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif
error C4668: ‘GNUC’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif
error C4668: ‘MAGICKCORE_SIZEOF_FLOAT_T’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif
error C4668: ‘MAGICKCORE_SIZEOF_DOUBLE_T’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif
error C4668: ‘GNUC’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif
error C4668: ‘GNUC’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif

Esse é o meu build.cs:

Does anyone know what I’m doing wrong?

I saw that some spoke to create a plugin but wanted to know if there is another way