diff options
author | Razvan Cojocaru <rzvncj@gmail.com> | 2020-05-21 23:22:04 +0300 |
---|---|---|
committer | Razvan Cojocaru <rzvncj@gmail.com> | 2020-05-21 23:22:04 +0300 |
commit | 8c1335ab2b8d4110be5ecd5347937adab7abb963 (patch) | |
tree | b989db09107fb85fb8c9530738beae05946ec191 | |
parent | f365ec6a05fce5af3caf10654c79fbaee4944369 (diff) | |
download | libproxy-git-8c1335ab2b8d4110be5ecd5347937adab7abb963.tar.gz |
cmake: fix generate-time warning
This commit fixes the following warning:
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 451e7a6..9f26a7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,8 @@ ### Required cmake_minimum_required(VERSION 2.6) + +project(libproxy) + if(POLICY CMP0011) cmake_policy(SET CMP0011 NEW) endif(POLICY CMP0011) |