lol,
You should have made a build directory outside of the source.
Like this:
~/TrinityCore - source
~/build - build directory
~/server - server directory (Note: this is made during make)
cd ~/build
cmake ../TrinityCore/ DPREFIX=/home/<username>/server
make -j 4
sudo make install