libqrencode
libqrencode copied to clipboard
be able to build static llibrary by MSVC
proposal
Fix to not search getopt.h
or sys / time.h
when building only static libraries. Now you can build with MSVC.
changes
-
check_include_file(getopt.h HAVE_GETOPT_H )
is invoked when WITH_TOOLS option is ON. -
check_include_file(sys/time.h HAVE_SYS_TIME_H)
is invoked when WITH_TEST option is ON.
Replaced by this? --> d3ba592a129fda1f0774958c46ae64b91106b271