Skip to content

Commit

Permalink
Fix cmake option command by including help text
Browse files Browse the repository at this point in the history
The option() command expects a help string between the variable and the
initial value.

Closes #241

Signed-off-by: Sean Robinson <[email protected]>
  • Loading branch information
skrobinson committed Jan 17, 2023
1 parent be705d1 commit d0beb40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d0beb40

Please sign in to comment.