mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-04 07:04:39 +00:00
Remove cmake option for removable '-v'
This was made obsolete by commit ea1f7ef663
.
Signed-off-by: Sean Robinson <sean.robinson@scottsdalecc.edu>
This commit is contained in:
parent
6974f46851
commit
be705d191b
@ -9,7 +9,6 @@ project(argparse
|
|||||||
|
|
||||||
option(ARGPARSE_INSTALL ON)
|
option(ARGPARSE_INSTALL ON)
|
||||||
option(ARGPARSE_BUILD_TESTS OFF)
|
option(ARGPARSE_BUILD_TESTS OFF)
|
||||||
option(ARGPARSE_LONG_VERSION_ARG_ONLY OFF)
|
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
include(CMakePackageConfigHelpers)
|
include(CMakePackageConfigHelpers)
|
||||||
@ -17,11 +16,6 @@ include(CMakePackageConfigHelpers)
|
|||||||
add_library(argparse INTERFACE)
|
add_library(argparse INTERFACE)
|
||||||
add_library(argparse::argparse ALIAS argparse)
|
add_library(argparse::argparse ALIAS argparse)
|
||||||
|
|
||||||
|
|
||||||
if (ARGPARSE_LONG_VERSION_ARG_ONLY)
|
|
||||||
target_compile_definitions(argparse INTERFACE ARGPARSE_LONG_VERSION_ARG_ONLY=true)
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
target_compile_features(argparse INTERFACE cxx_std_17)
|
target_compile_features(argparse INTERFACE cxx_std_17)
|
||||||
target_include_directories(argparse INTERFACE
|
target_include_directories(argparse INTERFACE
|
||||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
||||||
|
Loading…
Reference in New Issue
Block a user