facebook / wangle

Wangle is a framework providing a set of common client/server abstractions for building services in a consistent, modular, and composable way.
Apache License 2.0
3.04k stars 536 forks source link

make fails not being able to find double-conversions, glog and libevent includes. #69

Closed spershin closed 7 years ago

spershin commented 7 years ago

Downloaded and built FB Folly Now trying to build FB Wangle.

Make fails because I build all libraries into custom folders and there seems to be no way to tell make to look in certain folders for double-conversions, glog and libevent includes. If there is such a way, I would like to hear about it. Thanks!

spershin commented 7 years ago

Ok, finally figured out. You can supply the missing paths by proving -DINCLUDE_DIR to cmake, like this: cmake -DINCLUDE_DIR="/home/$USER/build/double-conversion/include;/home/$USER/build/gflags/include;/home/$USER/build/glog/include;/home/$USER/build/libevent/include" .