Author: jkorous Date: Thu May 2 13:32:56 2019 New Revision: 359824 URL: http://llvm.org/viewvc/llvm-project?rev=359824&view=rev Log: [clangd][xpc] Cannonicalize value of CLANGD_BUILD_XPC before caching
Modified: clang-tools-extra/trunk/clangd/CMakeLists.txt Modified: clang-tools-extra/trunk/clangd/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/CMakeLists.txt?rev=359824&r1=359823&r2=359824&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/CMakeLists.txt (original) +++ clang-tools-extra/trunk/clangd/CMakeLists.txt Thu May 2 13:32:56 2019 @@ -6,6 +6,8 @@ if (NOT DEFINED CLANGD_BUILD_XPC) set(CLANGD_BUILD_XPC_DEFAULT OFF) endif () + llvm_canonicalize_cmake_booleans(CLANGD_BUILD_XPC_DEFAULT) + set(CLANGD_BUILD_XPC ${CLANGD_BUILD_XPC_DEFAULT} CACHE BOOL "Build XPC Support For Clangd." FORCE) unset(CLANGD_BUILD_XPC_DEFAULT) endif () _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits