How to build CMake with server support on CentOS 7?
I am trying to use the new "Visual C++ for Linux Development with CMake" feature in Visual Studio.
My Linux host is CentOS 7, running CMake 3.9.0 built with gcc 4.8.5. However it seems this build does not support the server mode:
[ali@host]# /usr/local/bin/cmake -E server
CMake Error: CMake was not built with server mode enabled
How should I rebuild CMake 3.9.0 with server support? I have failed to find any documentation on this issue.