Default to static linking on both MSVC and MINGW
Remove unused CMake function
Ignore another warning to make mingw happy
Hack to allow toolchains to pass flags to mingw
Set the boost thread api for mingw
Change to -static gcc flag
Hack to add pthread to link libraries on mingw

This should link winpthreads.  We really shouldn't be passing these this
way, but that seems to be the existing solution, and it works for now.
Remove unnecessary else
User setting to turn LTO on and off

This isn't currently working on mingw
Remove unneeded files from cmake daemon executable
Reverse order of boost/thread linker flags

The boost libs should depend on the thread libs (if present), and not
the other way around.
Change Windows include to windows

mingw is case sensitive
Correct includes for mingw in slow-hash

This needs testing
More preprocessor fixes for slow-hash
Another preprocessor fix (difficulty.cpp)
Fix missing typename for template
Another case fix for windows include
Remove redundant template
msys2 32/64-bit toolchains
Force CMake to link the runtime statically