Update PreLoad.cmake

Co-authored-by: Vladimir C <vdimir@clickhouse.com>
This commit is contained in:
Lloyd-Pottiger 2022-08-26 18:30:05 +08:00 committed by GitHub
parent 6b77ad8411
commit a284d28dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@
# sudo apt-get install ninja-build
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 "")