Browse Source

fix: Remove -DREPLACE_GETOPT from CMakeLists.txt

since this macro is replaced by ARG_REPLACE_GETOPT

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
pull/59/head
Xiang Xiao 4 years ago
parent
commit
1af73d326a
  1. 1
      examples/CMakeLists.txt
  2. 1
      tests/CMakeLists.txt

1
examples/CMakeLists.txt

@ -34,7 +34,6 @@ endif()
if(NOT ARGTABLE3_REPLACE_GETOPT)
add_definitions(-DARG_REPLACE_GETOPT=0)
add_definitions(-DREPLACE_GETOPT)
endif()
if(ARGTABLE3_LONG_ONLY)

1
tests/CMakeLists.txt

@ -34,7 +34,6 @@ endif()
if(NOT ARGTABLE3_REPLACE_GETOPT)
add_definitions(-DARG_REPLACE_GETOPT=0)
add_definitions(-DREPLACE_GETOPT)
endif()
if(ARGTABLE3_LONG_ONLY)

Loading…
Cancel
Save