diff --git a/PreLoad.cmake b/PreLoad.cmake index 95f65b85f7f..b11ab080430 100644 --- a/PreLoad.cmake +++ b/PreLoad.cmake @@ -7,12 +7,8 @@ # How to install Ninja on Ubuntu: # sudo apt-get install ninja-build -# CLion does not support Ninja -# You can add your vote on CLion task tracker: -# https://youtrack.jetbrains.com/issue/CPP-2659 -# https://youtrack.jetbrains.com/issue/CPP-870 -if (NOT DEFINED ENV{CLION_IDE} AND NOT DEFINED ENV{XCODE_IDE}) +if (NOT DEFINED ENV{XCODE_IDE}) find_program(NINJA_PATH ninja) if (NINJA_PATH) set(CMAKE_GENERATOR "Ninja" CACHE INTERNAL "")