[Lldb-commits] [lldb] r367153 - [CMake] Print the correct variables
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 26 13:58:10 PDT 2019
Author: jdevlieghere
Date: Fri Jul 26 13:58:10 2019
New Revision: 367153
URL: http://llvm.org/viewvc/llvm-project?rev=367153&view=rev
Log:
[CMake] Print the correct variables
This didn't get updated after we decided to set PYTHON_MAJOR_VERSION and
PYTHON_MINOR_VERSION in find_python_libs_windows, instead of parsing the
variables ourselves.
Modified:
lldb/trunk/cmake/modules/LLDBConfig.cmake
Modified: lldb/trunk/cmake/modules/LLDBConfig.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/modules/LLDBConfig.cmake?rev=367153&r1=367152&r2=367153&view=diff
==============================================================================
--- lldb/trunk/cmake/modules/LLDBConfig.cmake (original)
+++ lldb/trunk/cmake/modules/LLDBConfig.cmake Fri Jul 26 13:58:10 2019
@@ -226,7 +226,7 @@ if (NOT LLDB_DISABLE_PYTHON)
# version for the system provided interpreter and libraries.
if (NOT PYTHON_VERSION_MAJOR VERSION_EQUAL pythonlibs_major OR
NOT PYTHON_VERSION_MINOR VERSION_EQUAL pythonlibs_minor)
- message(FATAL_ERROR "Found incompatible Python interpreter (${python_major}.${python_minor})"
+ message(FATAL_ERROR "Found incompatible Python interpreter (${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR})"
" and Python libraries (${pythonlibs_major}.${pythonlibs_minor})")
endif()
endif()
More information about the lldb-commits
mailing list