[Lldb-commits] [lldb] r310955 - [CMake] Fixing an error in STREQUAL usage.
Chris Bieneman via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 15 13:56:04 PDT 2017
Author: cbieneman
Date: Tue Aug 15 13:56:04 2017
New Revision: 310955
URL: http://llvm.org/viewvc/llvm-project?rev=310955&view=rev
Log:
[CMake] Fixing an error in STREQUAL usage.
Modified:
lldb/trunk/tools/debugserver/source/CMakeLists.txt
Modified: lldb/trunk/tools/debugserver/source/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/CMakeLists.txt?rev=310955&r1=310954&r2=310955&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/CMakeLists.txt (original)
+++ lldb/trunk/tools/debugserver/source/CMakeLists.txt Tue Aug 15 13:56:04 2017
@@ -185,7 +185,7 @@ endif()
set(LLDB_CODESIGN_IDENTITY "lldb_codesign"
CACHE STRING "Identity used for code signing. Set to empty string to skip the signing step.")
set(LLDB_USE_ENTITLEMENTS_Default On)
-if(LLDB_CODESIGN_INDENTITY STREQUAL "lldb_codesign")
+if("${LLDB_CODESIGN_INDENTITY}" STREQUAL "lldb_codesign")
set(LLDB_USE_ENTITLEMENTS_Default Off)
endif()
option(LLDB_USE_ENTITLEMENTS "Use entitlements when codesigning (Defaults Off when using lldb_codesign identity, otherwise On)" ${LLDB_USE_ENTITLEMENTS_Default})
More information about the lldb-commits
mailing list