Still getting same/similar error :
wow@wow:~/build$ cmake ../server_core -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=../build && make && make install
-- Detected 64-bit platform
-- UNIX: Using jemalloc
-- UNIX: Using default configuration directory
-- UNIX: Using default library directory
CMake Error at cmake/platform/unix/settings.cmake:22 (configure_file):
configure_file attempted to configure a file:
/home/wow/server_core/cmake_uninstall.cmake into a source directory.
Call Stack (most recent call first):
cmake/macros/CheckPlatform.cmake:15 (include)
CMakeLists.txt:51 (include)
-- Configuring incomplete, errors occurred!
I'm using " cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=../build && make && make install " line to compile, source files are located in server_core folder and as u said i made build folder.