[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.

llvm-svn: 291788
This commit is contained in:
Chris Bieneman 2017-01-12 18:45:59 +00:00
parent 6717a6fe54
commit 095f633b74
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ if (NOT LLDB_DISABLE_PYTHON)
# Don't set -m when building the framework. # Don't set -m when building the framework.
set(FINISH_EXTRA_ARGS "-m") set(FINISH_EXTRA_ARGS "-m")
endif() endif()
set(LLDB_WRAP_PYTHON ${LLDB_PYTHON_TARGET_DIR}/LLDBWrapPython.cpp) set(LLDB_WRAP_PYTHON ${LLDB_BINARY_DIR}/scripts/LLDBWrapPython.cpp)
add_subdirectory(scripts) add_subdirectory(scripts)
endif () endif ()