Jump to content

CMake Error


Recommended Posts

Posted

I have been trying to compile the OpenJK code with cmake , but it is always giving me a error message

CMake Error at CMakeLists.txt:5 (message):Use the top-level cmake script!"  please help!

Posted

Try using the top-level script =] i.e. don't run CMake from a folder like codemp, run it from the folder above that.

Posted

Read what Raz0r said:

i.e. don't run CMake from a folder like codemp, run it from the folder above that.

So you want to be running the CMakeLists.txt file that's in the same directory as the README.md file.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...