I am trying to build libobjc2 on ubuntu using clang and llvm 3.6
CMake Error at /usr/share/llvm-3.6/cmake/LLVMConfig.cmake:52 (include):
include could not find load file:
LLVMExports.cmake is located on /usr/share/llvm-3.6/cmake/ on this distro
So I did a symlink to the expected location and it works, however now it can't find AddLLVM
CMake Error at opts/CMakeLists.txt:4 (include): include could not find load file:
The offending file its on that folder as AddLLVM.cmake
Do I need to set some ENV variable to tell cmake where these files are located?
I hate to have to build my own clang/llvm, users trying to build gnustep are going to be hitting this issue. This issue dates back several versions of ubuntu. BTW ubuntu is building gnustep using standard gcc.
I tried this on ubunut 14.04 (LTS) and 15.04 (soon to be released)