summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak Panickal <deepak@codeplay.com>2014-08-25 18:16:22 +0000
committerDeepak Panickal <deepak@codeplay.com>2014-08-25 18:16:22 +0000
commitb709222b8a579a121444485efaa71ea6944eda1d (patch)
tree58d4c1d0feabf5cd57ac087967651b8e6d467699
parent70f81a98ca014d0425efb6b3d2cc2a347ca871f0 (diff)
downloadbcm5719-llvm-b709222b8a579a121444485efaa71ea6944eda1d.tar.gz
bcm5719-llvm-b709222b8a579a121444485efaa71ea6944eda1d.zip
Fix the Windows build by removing the unused lldb_python_module.cmake inclusion from CMakeLists.
llvm-svn: 216392
-rw-r--r--lldb/scripts/CMakeLists.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/lldb/scripts/CMakeLists.txt b/lldb/scripts/CMakeLists.txt
index 97531b606f5..5cf645f69e4 100644
--- a/lldb/scripts/CMakeLists.txt
+++ b/lldb/scripts/CMakeLists.txt
@@ -16,8 +16,11 @@ if ( LLDB_ENABLE_PYTHON_SCRIPTS_SWIG_API_GENERATION )
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/LLDBWrapPython.cpp
)
- # Install the LLDB python module on all operating systems
- install(SCRIPT lldb_python_module.cmake -DCMAKE_INSTALL_PREFIX=\"${CMAKE_INSTALL_PREFIX}\" -DCMAKE_BUILD_DIR=\"${CMAKE_BUILD_DIR}\")
+ # Install the LLDB python module on all operating systems (except Windows)
+ if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
+ install(DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}
+ DESTINATION lib${LLVM_LIBDIR_SUFFIX})
+ endif()
else ()
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/LLDBWrapPython.cpp
@@ -42,4 +45,4 @@ else ()
endif ()
# build Python modules
-add_subdirectory(Python/modules) \ No newline at end of file
+add_subdirectory(Python/modules)
OpenPOWER on IntegriCloud