Patch for building examples on MacOS X Lion
authorJared Boone <jared@sharebrained.com>
Sat, 12 May 2012 21:09:40 +0000 (14:09 -0700)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 22 May 2012 13:46:15 +0000 (15:46 +0200)
commitbc96abce425216ec3cdfe11723d5d47787ea6fd6
tree5b302cfdf36ed31d51143f8c3ed5c6d9a6c026ff
parenta0705b2bd42a3510211c7710c203e8bee2ed913a
Patch for building examples on MacOS X Lion

I had trouble with CMake picking up my /opt/local/include directory before my libftdi/src directory. I was getting the MacPorts-installed libftdi-0.20 headers, not the headers from the build tree. This was only happening during building of examples/. This patch addressed my problem.

- Jared
examples/CMakeLists.txt