mirror of
https://github.com/p-ranav/argparse
synced 2026-06-08 16:35:45 +00:00
Fix all samples building to "tests" binary
This commit is contained in:
@@ -26,7 +26,6 @@ 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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user