forked from OSchip/llvm-project
Fix Windows build when python is not explicitly enabled
Currently Windows disables Python builds by default. This change ensures we don't process the scripts dir when we're on Windows unless we're explicitly enabling python, which prevents a build error. Change by Deepak Panickal llvm-svn: 212319
This commit is contained in:
parent
37d3fa7e36
commit
8422c5ae6d
|
@ -316,7 +316,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LLDB_COMPILE_FLAGS}")
|
|||
|
||||
#add_subdirectory(include)
|
||||
add_subdirectory(docs)
|
||||
add_subdirectory(scripts)
|
||||
if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows" OR NOT LLDB_DISABLE_PYTHON)
|
||||
add_subdirectory(scripts)
|
||||
endif ()
|
||||
add_subdirectory(source)
|
||||
add_subdirectory(test)
|
||||
add_subdirectory(tools)
|
||||
|
|
Loading…
Reference in New Issue