Unable to build with Cmake ( Mac OS 10.14)

Hirakjyoti, as Axel also indicated in the reply to your other email, this is not a LAMMPS issue.

further more, downloading headers “from the internet” is reckless and counterproductive. those headers have to match your compiler and operating system.
you are obviously trying to mix Linux and MacOS headers, that is just plain bad.

you need to get training in how to use a compiler and how to configure/install software from source by a local expert. that kind of advice is difficult to provide from remote via e-mail.

axel.