[clangd] Canonicalize LLVM_ENABLE_ZLIB

It is used in our lit test's configuration now.
This commit is contained in:
Kadir Cetinkaya 2020-11-13 18:19:52 +01:00
parent f3124a46c1
commit 8dc2aa0e41
No known key found for this signature in database
GPG Key ID: E39E36B8D2057ED6
1 changed files with 5 additions and 2 deletions

View File

@ -14,8 +14,11 @@ if (NOT DEFINED CLANGD_BUILD_XPC)
unset(CLANGD_BUILD_XPC_DEFAULT)
endif ()
llvm_canonicalize_cmake_booleans(CLANGD_BUILD_XPC)
llvm_canonicalize_cmake_booleans(CLANGD_ENABLE_REMOTE)
llvm_canonicalize_cmake_booleans(
CLANGD_BUILD_XPC
CLANGD_ENABLE_REMOTE
LLVM_ENABLE_ZLIB
)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/Features.inc.in