Require CMake >= 2.8.9 and update Travis' CMake

The POSITION_INDEPENDENT_CODE target property seems to be supported since
CMake 2.8.9, and Ubuntu 12.04 uses 2.8.7.
This commit is contained in:
Martin 2017-03-04 17:09:50 +01:00
parent 99acea70a0
commit 647e3b6fb2
4 changed files with 12 additions and 11 deletions

View file

@ -325,7 +325,7 @@ cl::opt<std::string>
#endif
cl::opt<llvm::Reloc::Model> mRelocModel(
"relocation-model", cl::desc("Relocation model"),
"relocation-model", cl::desc("Relocation model"), cl::ZeroOrMore,
#if LDC_LLVM_VER < 309
cl::init(llvm::Reloc::Default),
#endif