Fix a CMake error when using CMake 3.0.1

llvm-svn: 216286
This commit is contained in:
Zachary Turner 2014-08-22 20:44:55 +00:00
parent b76d386d7c
commit cfe910b9d4
1 changed files with 1 additions and 5 deletions

View File

@ -299,11 +299,7 @@ set_target_properties(liblldb
endif()
if (LLDB_WRAP_PYTHON OR LLDB_VERS_GENERATED_FILE)
add_dependencies(liblldb
swig_wrapper
${LLDB_WRAP_PYTHON}
${LLDB_VERS_GENERATED_FILE}
)
add_dependencies(liblldb swig_wrapper)
endif()
target_link_libraries(liblldb ${cmake_2_8_12_PRIVATE} ${LLDB_SYSTEM_LIBS})