Fix the bug of LLVM_LFLAGS fail to set
authorJunyan He <junyan.he@linux.intel.com>
Tue, 16 Sep 2014 03:12:10 +0000 (11:12 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Tue, 16 Sep 2014 04:27:21 +0000 (12:27 +0800)
commit774cb1078594d8151418b97deec00935f7034ac2
tree0253747f6d564fff23aa296b85f4a9287187f0ca
parent6b7648768be9b0bb4a3090b0a590311f09d57824
Fix the bug of LLVM_LFLAGS fail to set

The LLVM_LFLAGS is used before finding the LLVM package,
which causes the CMake fails to set correct -L flags and
cause linkage error.

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
CMake/FindLLVM.cmake
CMakeLists.txt