From d0beb40d647a85fde3bcb641e173f6b8ead23974 Mon Sep 17 00:00:00 2001 From: Sean Robinson Date: Tue, 17 Jan 2023 14:26:14 -0700 Subject: [PATCH] Fix cmake option command by including help text The option() command expects a help string between the variable and the initial value. Closes #241 Signed-off-by: Sean Robinson --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0654064..19d8942 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,8 +7,8 @@ project(argparse LANGUAGES CXX ) -option(ARGPARSE_INSTALL ON) -option(ARGPARSE_BUILD_TESTS OFF) +option(ARGPARSE_INSTALL "Include an install target" ON) +option(ARGPARSE_BUILD_TESTS "Build tests" OFF) include(GNUInstallDirs) include(CMakePackageConfigHelpers)