Use ninja instead of make by default if it is available [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2018-06-08 19:00:56 +03:00
parent f483e4cb05
commit 370545d6c2

6
PreLoad.cmake Normal file
View File

@ -0,0 +1,6 @@
# Use Ninja instead of Unix Makefiles by default.
find_program(NINJA_PATH ninja)
if (NINJA_PATH)
set(CMAKE_GENERATOR "Ninja")
endif ()