mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-16 20:34:39 +00:00
Added C++17 requirement to samples CMakeLists
This commit is contained in:
parent
b10afeb50c
commit
22d57ac9ba
@ -26,6 +26,8 @@ function(add_sample NAME)
|
||||
ADD_EXECUTABLE(ARGPARSE_SAMPLE_${NAME} ${NAME}.cpp)
|
||||
INCLUDE_DIRECTORIES("../include" ".")
|
||||
set_target_properties(ARGPARSE_SAMPLE_${NAME} PROPERTIES OUTPUT_NAME ${NAME})
|
||||
set_target_properties(ARGPARSE_SAMPLE_${NAME} PROPERTIES OUTPUT_NAME tests)
|
||||
set_property(TARGET ARGPARSE_SAMPLE_${NAME} PROPERTY CXX_STANDARD 17)
|
||||
endfunction()
|
||||
|
||||
add_sample(positional_argument)
|
||||
|
Loading…
Reference in New Issue
Block a user