I'm trying to use CMake to compile another library and it requires Boost.
I have installed both CMake and Boost using brew on OS X 10.10 Yosemite, but CMake refuses to find it. Boost is located in /usr/local/Cellar/boost/1.55.0_2
I've tried the following:
- Setting
-DBoost_DIRand-DBOOST_ROOTwith the above path - Setting
-DBoost_INCLUDE_DIRand-DBOOST_INCLUDEDIRwith the above path +/include - Setting any and all of these options in the CMakeLists.txt file
- Compiling Boost myself, and pointing the above vars to my own build
- Trying out similar solutions to the same problem here, here, and here. The only answer that I found that mentioned brew on OS X was this one, and the same solution did not work for me.
Why is CMake blatantly ignoring my instructions? :(