mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Disable ninja for CLion
This commit is contained in:
parent
a446ec5e61
commit
fd307314fd
@ -12,8 +12,7 @@
|
|||||||
# https://youtrack.jetbrains.com/issue/CPP-2659
|
# https://youtrack.jetbrains.com/issue/CPP-2659
|
||||||
# https://youtrack.jetbrains.com/issue/CPP-870
|
# https://youtrack.jetbrains.com/issue/CPP-870
|
||||||
|
|
||||||
string(TOLOWER "${CMAKE_COMMAND}" CMAKE_COMMAND_LOWER)
|
if (NOT DEFINED ENV{CLION_IDE})
|
||||||
if (NOT ${CMAKE_COMMAND_LOWER} MATCHES "clion")
|
|
||||||
find_program(NINJA_PATH ninja)
|
find_program(NINJA_PATH ninja)
|
||||||
if (NINJA_PATH)
|
if (NINJA_PATH)
|
||||||
set(CMAKE_GENERATOR "Ninja" CACHE INTERNAL "" FORCE)
|
set(CMAKE_GENERATOR "Ninja" CACHE INTERNAL "" FORCE)
|
||||||
|
Loading…
Reference in New Issue
Block a user