Skip to content

Commit d0beb40

Browse files
committedJan 17, 2023
Fix cmake option command by including help text
The option() command expects a help string between the variable and the initial value. Closes p-ranav#241 Signed-off-by: Sean Robinson <sean.robinson@scottsdalecc.edu>
1 parent be705d1 commit d0beb40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ project(argparse
77
LANGUAGES CXX
88
)
99

10-
option(ARGPARSE_INSTALL ON)
11-
option(ARGPARSE_BUILD_TESTS OFF)
10+
option(ARGPARSE_INSTALL "Include an install target" ON)
11+
option(ARGPARSE_BUILD_TESTS "Build tests" OFF)
1212

1313
include(GNUInstallDirs)
1414
include(CMakePackageConfigHelpers)

0 commit comments

Comments
 (0)
Please sign in to comment.