> ninja: error: 'ws2_32.lib', needed by 'gdal_w64.dll', missing and no known rule to make it 'ws2_32.lib' is neither the name of a CMake target nor a flag ('-l'). So it is taken as a file by Ninja. However, Ninja is not the linker and so it doesn't find that file. Solutions: - '-lws2_32' (assuming mingw) - 'find_library(...)' Kai