forked from OSchip/llvm-project
[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:
parent
6717a6fe54
commit
095f633b74
|
@ -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 ()
|
||||||
|
|
Loading…
Reference in New Issue