[Lldb-commits] [PATCH] D89807: Fix "Unknown arguments specified" to if in lldb
Christopher Tetreault via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 20 10:07:09 PDT 2020
ctetreau created this revision.
Herald added subscribers: lldb-commits, mgorny.
Herald added a project: LLDB.
ctetreau requested review of this revision.
Herald added a subscriber: JDevlieghere.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D89807
Files:
lldb/cmake/modules/FindPythonAndSwig.cmake
Index: lldb/cmake/modules/FindPythonAndSwig.cmake
===================================================================
--- lldb/cmake/modules/FindPythonAndSwig.cmake
+++ lldb/cmake/modules/FindPythonAndSwig.cmake
@@ -48,7 +48,7 @@
get_property(MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
if ("${Python3_VERSION}" VERSION_GREATER_EQUAL "3.7" AND
"${SWIG_VERSION}" VERSION_LESS "4.0" AND WIN32 AND (
- ${MULTI_CONFIG} OR (${uppercase_CMAKE_BUILD_TYPE} STREQUAL "DEBUG")))
+ ${MULTI_CONFIG} OR (CMAKE_BUILD_TYPE STREQUAL "Debug")))
# Technically this can happen with non-Windows builds too, but we are not
# able to detect whether Python was built with assertions, and only Windows
# has the requirement that Debug LLDB must use Debug Python.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89807.299398.patch
Type: text/x-patch
Size: 789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201020/f74bba4c/attachment.bin>
More information about the lldb-commits
mailing list