From 2f59260e844c99475d556e7cbeb6a3e18a767561 Mon Sep 17 00:00:00 2001 From: Sean Robinson Date: Thu, 9 Sep 2021 13:43:21 -0700 Subject: [PATCH] Add CMake project name This silences the following warning: 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. Signed-off-by: Sean Robinson --- test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index b1e00be..e601965 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,4 +1,5 @@ cmake_minimum_required(VERSION 3.6) +project(argparse) if(MSVC) # Force to always compile with W4