[clang-tools-extra] r359824 - [clangd][xpc] Cannonicalize value of CLANGD_BUILD_XPC before caching
Jan Korous via cfe-commits
cfe-commits at lists.llvm.org
Thu May 2 13:32:57 PDT 2019
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 ()
More information about the cfe-commits
mailing list