mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added support for CLion in PreLoad.cmake [#CLICKHOUSE-2]
This commit is contained in:
parent
ae45b68ba2
commit
836bf136e3
@ -7,7 +7,10 @@
|
||||
# How to install Ninja on Ubuntu:
|
||||
# sudo apt-get install ninja-build
|
||||
|
||||
find_program(NINJA_PATH ninja)
|
||||
if (NINJA_PATH)
|
||||
set(CMAKE_GENERATOR "Ninja" CACHE INTERNAL "" FORCE)
|
||||
endif ()
|
||||
# CLion does not support Ninja
|
||||
if (NOT ${CMAKE_COMMAND} MATCHES "clion")
|
||||
find_program(NINJA_PATH ninja)
|
||||
if (NINJA_PATH)
|
||||
set(CMAKE_GENERATOR "Ninja" CACHE INTERNAL "" FORCE)
|
||||
endif ()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user