@jxsl13 yea i also had lots of trouble with that. I used verbose build to see what compiler cmake picked. It is usually not the same as the one you ususally use from terminal. It is mostly some compiler located in some appl xcode directory. And there is also a own include directory which is not linked to the one from homebrew. So i just copied openssl over there. Its dirty but it works.
08:25
uff that explanation was terrible feel free to pm me and i can explain it in greater detail.
08:26
But we could probably tell cmake to also search in the homebrew include dir
super weird, it somehow found it, kinda fixed some brew warnings, deleted all headers and stuff that was not known to brew, updated all brew packages.. donno, somehow it works now.