Your library compiles on Windows with a tiny change.
In triangle.c, before the conditional inclusion
#ifndef NO_TIMER
#include <sys/time.h>
#endif /* not NO_TIMER */
I inserted #define NO_TIMER to be able to compile on Windows. Maybe this definition can be included from within CMakeLists (I don't really know CMake). If you can solve it, your library will work on another platform as well!
Your library compiles on Windows with a tiny change. In triangle.c, before the conditional inclusion
I inserted
#define NO_TIMER
to be able to compile on Windows. Maybe this definition can be included from within CMakeLists (I don't really know CMake). If you can solve it, your library will work on another platform as well!