0 Members and 1 Guest are viewing this topic.
This has actually nothing to do with CMake in the first place. I'm sorry that I brought this to a public table.
I'd prefer an option to build both a static and a dynamic library at the same time.
To get a static version of the libraries, you must set BUILD_SHARED_LIBS to FALSE.
Running "cmake" is enoughIt's often better to run it from a different directory, so that the source tree is not polluted wit hteh build files.Anyway, what error do you get?
Just use cmake -i : it runs in "wizard" mode and asks for everything.
Error 1 fatal error LNK1107: invalid or corrupt file: cannot read at 0xA5 C:\Documents 1 sfml-audioError 2 fatal error LNK1107: invalid or corrupt file: cannot read at 0xA5 C:\Documents 1 sfml-graphics