kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject [kudu] branch master updated: [cmake] add project(Kudu) to avoid warning
Date Wed, 04 Mar 2020 01:06:08 GMT
This is an automated email from the ASF dual-hosted git repository.

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git

The following commit(s) were added to refs/heads/master by this push:
     new 2a3fe54  [cmake] add project(Kudu) to avoid warning
2a3fe54 is described below

commit 2a3fe540f3a98bf715ef82ab189759c61a419a2b
Author: Alexey Serbin <alexey@apache.org>
AuthorDate: Tue Mar 3 15:29:36 2020 -0800

    [cmake] add project(Kudu) to avoid warning
    Once switching to cmake 3.16.4, the following warning started to appear
    (at least when building on Ubuntu 18.04):
      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
      near the top of the file, but after cmake_minimum_required().
      CMake is pretending there is a "project(Project)" command on the first
    This patch adds project() command, exactly as instructed.
    Change-Id: Ie8ac913520644690561af073609d58ac320faa51
    Reviewed-on: http://gerrit.cloudera.org:8080/15354
    Tested-by: Kudu Jenkins
    Reviewed-by: Bankim Bhavsar <bankim@cloudera.com>
    Reviewed-by: Andrew Wong <awong@cloudera.com>
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4cd8575..21fb38f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,6 +22,8 @@
 # 1. https://gitlab.kitware.com/cmake/cmake/issues/17938
 cmake_minimum_required(VERSION 3.11.2)
 # Prevent builds from the top-level source directory. This ensures that build
 # output is well isolated from the source tree.

View raw message