Displaying 1 result from an estimated 1 matches for "cmp0025".
Did you mean:
cmp0026
2014 Feb 02
5
[LLVMdev] Some CMake issues (Are you being served?)
...e version before the project()
command.
The minimum version affects behavior by setting policies, and can
affect the behavior of the project() command.
http://www.cmake.org/cmake/help/git-master/manual/cmake-policies.7.html
Eg
http://www.cmake.org/cmake/help/git-master/policy/CMP0025.html
-project(LLVM)
cmake_minimum_required(VERSION 2.8.8)
+project(LLVM)
You need to do the same in clang/CMakeLists.txt.
2) You need to clean up tabs vs spaces. At least clang/CMakeLists.txt mixes
them. I didn't look elsewhere but you should clean it all up.
3) In modern cmake code, the...