[Lldb-commits] [PATCH] D67641: Cache PYTHON_EXECUTABLE for windows
Haibo Huang via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 17 18:01:02 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL372194: Cache PYTHON_EXECUTABLE for windows (authored by hhb, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D67641?vs=220594&id=220596#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67641/new/
https://reviews.llvm.org/D67641
Files:
lldb/trunk/cmake/modules/LLDBConfig.cmake
Index: lldb/trunk/cmake/modules/LLDBConfig.cmake
===================================================================
--- lldb/trunk/cmake/modules/LLDBConfig.cmake
+++ lldb/trunk/cmake/modules/LLDBConfig.cmake
@@ -250,10 +250,10 @@
endif()
# Set the same variables as FindPythonInterp and FindPythonLibs.
- set(PYTHON_EXECUTABLE "${PYTHON_EXECUTABLE}" PARENT_SCOPE)
- set(PYTHON_LIBRARY "${PYTHON_LIBRARY}" PARENT_SCOPE)
- set(PYTHON_DLL "${PYTHON_DLL}" PARENT_SCOPE)
- set(PYTHON_INCLUDE_DIR "${PYTHON_INCLUDE_DIR}" PARENT_SCOPE)
+ set(PYTHON_EXECUTABLE "${PYTHON_EXECUTABLE}" CACHE PATH "")
+ set(PYTHON_LIBRARY "${PYTHON_LIBRARY}" CACHE PATH "")
+ set(PYTHON_DLL "${PYTHON_DLL}" CACHE PATH "")
+ set(PYTHON_INCLUDE_DIR "${PYTHON_INCLUDE_DIR}" CACHE PATH "")
set(PYTHONLIBS_VERSION_STRING "${PYTHONLIBS_VERSION_STRING}" PARENT_SCOPE)
set(PYTHON_VERSION_STRING "${PYTHON_VERSION_STRING}" PARENT_SCOPE)
set(PYTHON_VERSION_MAJOR "${PYTHON_VERSION_MAJOR}" PARENT_SCOPE)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67641.220596.patch
Type: text/x-patch
Size: 1185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190918/7f7ac925/attachment-0001.bin>
More information about the lldb-commits
mailing list