imageworks/OpenShadingLanguage — pull request #104 by lgritz (2012-01-06 18:17:07+00:00)
Title: Cmake related fixes

Two changes to the CMake scripts:

1. Use llvm-config for much more foolproof finding of LLVM components. No more version number fiddling or environment variables. Whichever llvm-config is first in your execution path determines the full llvm tool chain for you, easy as pie. To switch LLVM versions, just make sure your preferred one is first in your $PATH.

2. Some detection of which compiler is being used, and a bit of definition and warning/error fine tuning based on this. Immediate side effect: safe for clang compile, despite warnings in Boost library headers.