diff options
author | Haibo Huang <hhb@google.com> | 2019-07-29 23:09:31 +0000 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2019-07-29 23:09:31 +0000 |
commit | 79d117f27ecd3a3508decb990794c648bda7270b (patch) | |
tree | d5f83d9efcdcd8c4312301089548b4b3c20cab11 /clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp | |
parent | 2562bec9395e50f4ec2fe0746aea870da5f75d53 (diff) | |
download | bcm5719-llvm-79d117f27ecd3a3508decb990794c648bda7270b.tar.gz bcm5719-llvm-79d117f27ecd3a3508decb990794c648bda7270b.zip |
[CMake] Move project() call to main CMake file
Summary:
The main CMake file don't have a project() call. In this case, cmake will run a dummy project(Project ) at the very beginning. Even before cmake_minimum_required. And a series of compiler detections will be triggered.
This is problematic if we depends on some policy to be set. E.g. CMP0056. try_compile will fail before we have a chance to do anything.
Subscribers: mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D65362
llvm-svn: 367273
Diffstat (limited to 'clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp')
0 files changed, 0 insertions, 0 deletions