Reputation: 92
I'm trying to build libcpr/cpr on Windows with Mingw64 and the output is always a libcpr.dll libcurl-d.dll libzlib.dll
file in the ./lib
folder.
How can make the build provide a lib file instead of dll files?
Upvotes: 0
Views: 1147
Reputation: 7305
Use CMake flag -DBUILD_SHARED_LIBS:BOOL=OFF
to build static library files (*.a
).
Upvotes: 1