beanz added a comment. I question if this is correct. When targeting Windows `CMAKE_STATIC_LIBRARY_SUFFIX` should be ".lib" by default, unless you're targeting MinGW or Cygwin, in which case it is ".a". Is this not what you're experiencing? https://reviews.llvm.org/D24046