[Lldb-commits] [lldb] r291788 - [CMake] Fix finding LLDBWrapPython.cpp in Framework build
Chris Bieneman via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 12 10:45:59 PST 2017
Author: cbieneman
Date: Thu Jan 12 12:45:59 2017
New Revision: 291788
URL: http://llvm.org/viewvc/llvm-project?rev=291788&view=rev
Log:
[CMake] Fix finding LLDBWrapPython.cpp in Framework build
The framework build was constructing the path to LLDBWrapPython incorrectly. It is apparently always in the scripts directory.
Modified:
lldb/trunk/CMakeLists.txt
Modified: lldb/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=291788&r1=291787&r2=291788&view=diff
==============================================================================
--- lldb/trunk/CMakeLists.txt (original)
+++ lldb/trunk/CMakeLists.txt Thu Jan 12 12:45:59 2017
@@ -28,7 +28,7 @@ if (NOT LLDB_DISABLE_PYTHON)
# Don't set -m when building the framework.
set(FINISH_EXTRA_ARGS "-m")
endif()
- set(LLDB_WRAP_PYTHON ${LLDB_PYTHON_TARGET_DIR}/LLDBWrapPython.cpp)
+ set(LLDB_WRAP_PYTHON ${LLDB_BINARY_DIR}/scripts/LLDBWrapPython.cpp)
add_subdirectory(scripts)
endif ()
More information about the lldb-commits
mailing list