diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-10-06 15:00:45 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-10-06 15:00:45 +0400 |
commit | a2d8cf333fb61de97270c1dce732a72915f20dd4 (patch) | |
tree | e79424516a50543686597949ace1cc10b72c6814 /source/CMakeLists.txt | |
parent | c001bd81a75b60a491ae30947736eea78260827a (diff) |
Better support for LLVM linking, needed for static OSL library.
This adds cmake code for LLVM on linux and updates the cmake code used for OSX.
LLVM is linked like other external libraries now, by using the setup_liblinks and setup_libdirs macros instead of the PLATFORM_LINKFLAGS variable.
The use of llvm-config for getting a list of libraries can also be simplified quite a bit.
Caching the LLVM_DIRECTORY and LLVM_VERSION strings could be nicer though.
Diffstat (limited to 'source/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions