[CMake] Compiling CMake without libuv?

Brad King brad.king at kitware.com
Wed Nov 16 07:22:15 EST 2016


On 11/16/2016 12:04 AM, Robert Maynard wrote:
> You can ask CMake to use its own copy of libuv by specifying
> CMAKE_USE_SYSTEM_LIBRARY_LIBUV to false.
> 
> If building even the CMake version of libuv is not possible you can
> just disable building server mode by setting CMake_ENABLE_SERVER_MODE

There is also the CMAKE_USE_LIBUV option that can be set to OFF.
One can pass it to the bootstrap script via

  ../cmake/bootstrap ... -- -DCMAKE_USE_LIBUV=OFF

> On Tue, Nov 15, 2016 at 5:59 PM, Christoph Grüninger wrote:
>> It should be only necessary for cmake-server, right?

Correct, though that is a major new feature that would typically be
expected to exist in distro-packaged builds.  IDEs may soon look
for it.

-Brad



More information about the CMake mailing list