I'm trying to build libwebsockets library using minGW by following the steps available at https://github.com/warmcat/libwebsockets/blob/master/READMEs/README.build.md under the section @section cmwmgw Building on Windows (MinGW)
I'm doing
cmake -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=C:\Users\pro12\Desktop\lib\libwebsockets
the directory "C:\Users\pro12\Desktop\lib\libwebsockets" contains the source files for the libwebsockets library and I'm runnning this command from
C:\Users\pro12\Desktop\libwebsockets\build
but it giving me error
CMake Error: The source directory "C:/Users/pro12/Desktop/libwebsockets/build" does not appear to contain CMakeLists.txt.
Can anyone tell what i'm doing wrong here? Thanks