I tried to compile a project with cmake, but I got the following error :

mostafa@ubuntu:~/oooark$ cmake .
CMake Error at CMakeLists.txt:19 (message):
  In-source builds are not allowed.  

For example run:

rm CMakeCache.txt
mkdir build
cd build
cmake ..
make
-- Configuring incomplete, errors occurred!

Can anyone help me ?

Edit
Report