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 | 31b825d834b5266674cdd37810bbb3d809a8e4d1 (patch) | |
tree | 79028645f49a37f504382e1169b17ef1975f6cec /llvm/lib/Object/WindowsResource.cpp | |
parent | d135e8c039757a839ab5c4f75dd7ca2eb82ae9f3 (diff) | |
download | llvm-31b825d834b5266674cdd37810bbb3d809a8e4d1.zip llvm-31b825d834b5266674cdd37810bbb3d809a8e4d1.tar.gz llvm-31b825d834b5266674cdd37810bbb3d809a8e4d1.tar.bz2 |
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
llvm-svn: 305593
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions