My problem is as follows :
I have OpenSSL as static libraries (libcrypto.a and libssl.a).
Compiled on Windows with MSys2/MinGW64.
Besides that, I have a small self written library based on OpenSSL.
Now I want to "bundle" the Crypto lib from OpenSSL with My lib to a "big" static library for later statically compiling in other applications on Windows without deploying any library.
What would a CMakeLists.txt file looks like? And are the prerequisites (OpenSSL as static libs) correct?
Actually compiling this to a dynamic DLL works like a charm. But My static lib are only includes the symbols of My own library, not from OpenSSL too.
Actually I have no working CMake file, so I can't include an example. I'm just looking for a direction how to do it.
A short suggestion how to begin would be highly appreciated.