diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2017-06-16 21:14:45 +0000 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2017-06-16 21:14:45 +0000 |
commit | f0d7258f4a2f5e6443011f7be011b5e9999c33f2 (patch) | |
tree | 35f27eb734927d9584dc257626b4e96150eb3e1b /include/xray | |
parent | 802ac1eb4fa6188c824ea8c49fd303626aba59de (diff) |
Call cmake_minimum_required at the top of CMakeLists.txt
Summary:
Since r298413, the NEW behavior of the CMake policy CMP0056 is followed.
However, it is only effective after the call to cmake_minimum_required.
This causes CMAKE_EXE_LINKER_FLAGS etc. to be unused when CMake tries to
check compilers for languages specified in the 'project' declaration.
Set cmake_minimum_required(VERSION) at the top of the file and ahead of
the project declaration.
Reviewers: beanz
Subscribers: mgorny, srhines, llvm-commits
Differential Revision: https://reviews.llvm.org/D34282
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@305593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/xray')
0 files changed, 0 insertions, 0 deletions