That should be (see the docs):
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
More Related Contents:
- How to build & install GLFW 3 and use it in a Linux project
- How to install latest version of git on CentOS 8.x/7.x/6.x
- How to compile a 32-bit binary on a 64-bit linux machine with gcc/cmake
- How can I get CMake to find my alternative Boost installation?
- How can I setup & run PhantomJS on Ubuntu?
- How do Linux binary installers (.bin, .sh) work?
- How to tell CMake where to put build files?
- How can I set up & run PhantomJS on Ubuntu?
- Register file extensions / mime types in Linux
- Making CMake print commands before executing
- How to compile GLUT + OpenGL project with CMake and Kdevelop in linux?
- How to compile/install node.js(could not configure a cxx compiler!) (Ubuntu).
- sed in-place flag that works both on Mac (BSD) and Linux
- Use Expect in a Bash script to provide a password to an SSH command
- How to declare 2D array in bash
- how to install gcc 4.9.2 on RHEL 7.4
- What happens if there is no exit system call in an assembly program?
- How do I view the list of functions a Linux shared library is exporting?
- OS specific instructions in CMAKE: How to?
- Why are the backslash and semicolon required with the find command’s -exec option?
- equivalent date from GNU to solaris
- Execute a command without keeping it in history [closed]
- How can I programmatically manage iptables rules on the fly?
- Add a newline only if it doesn’t exist
- Need a good hex editor for Linux [closed]
- How is the Linux kernel tested?
- Meaning of tilde in Linux bash (not home directory)
- undefined reference to symbol even when nm indicates that this symbol is present in the shared library
- Why do we need a bootloader in an embedded device?
- library path when dynamically loaded?