From: Jonas Devlieghere Date: Fri, 26 Jul 2019 20:58:10 +0000 (+0000) Subject: [CMake] Print the correct variables X-Git-Tag: llvmorg-11-init~13446 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe4b12b4deacb9b8fe9ee9887e6a897a7e955ff9;p=platform%2Fupstream%2Fllvm.git [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. llvm-svn: 367153 --- diff --git a/lldb/cmake/modules/LLDBConfig.cmake b/lldb/cmake/modules/LLDBConfig.cmake index b627c24..38cbc03 100644 --- a/lldb/cmake/modules/LLDBConfig.cmake +++ b/lldb/cmake/modules/LLDBConfig.cmake @@ -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()