blob: d746953b55445c27f26a8827594a79d3cedafa90 [file] [log] [blame]
check_function_exists(getopt HAVE_GETOPT)
if(NOT HAVE_GETOPT)
set(SRC_EXTRA_FILES ../src/getopt.c)
endif(NOT HAVE_GETOPT)
add_executable(in-memory in-memory.c)
target_link_libraries(in-memory zip)
target_include_directories(in-memory PRIVATE ${PROJECT_SOURCE_DIR}/lib ${PROJECT_BINARY_DIR})