I have debian 10 running on a virtual machine inside windows 10.
I have installed build-essential, openssl, libssl-dev, libcurl4-openssl-dev, and cmake.
I am trying to have cmake generate a makefile from a cloned git repository, https://gitlab.com/znixian/payday2-superblt and I was able to generate linux files by using cmake to create a makefile, and executing make on the makefile. However, I realised that I was wanting the windows binaries, not the linux .a and .so libraries.
I ended up adding set(WIN32 true) inside the cmake file, and changing set(UNIX true) to false. Now when I erase the cmake generated code and cache, it tells me this error: "Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found version "1.1.1d")"
I was able to fix this before by actually installing openssl, although I have it installed NOW, and it is telling me it cannot find part of it? What do I need to install, or where do I need to point cmake for the openssl crypto librarys?