diff options
author | Christopher Tetreault <ctetreau@quicinc.com> | 2020-10-21 07:23:54 -0700 |
---|---|---|
committer | Christopher Tetreault <ctetreau@quicinc.com> | 2020-10-21 07:24:53 -0700 |
commit | 26459e6d8eeb3c2e61c70d207de7e10a00b4ed1c (patch) | |
tree | b0f9cbaa0185d66dcf03692a72648b858bafe4be /lldb/cmake | |
parent | fa5fa63fd140f2d4bad0357839378606a583b32c (diff) | |
download | llvm-26459e6d8eeb3c2e61c70d207de7e10a00b4ed1c.tar.gz |
Fix "Unknown arguments specified" to if in lldb
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D89807
Diffstat (limited to 'lldb/cmake')
-rw-r--r-- | lldb/cmake/modules/FindPythonAndSwig.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/cmake/modules/FindPythonAndSwig.cmake b/lldb/cmake/modules/FindPythonAndSwig.cmake index de274ede5dbf..dcbc386b70dd 100644 --- a/lldb/cmake/modules/FindPythonAndSwig.cmake +++ b/lldb/cmake/modules/FindPythonAndSwig.cmake @@ -48,7 +48,7 @@ else() 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 (uppercase_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. |