|
|
|
|
@ -125,6 +125,10 @@ else()
|
|
|
|
|
# Find liblldb with the same version as the version of libclang found |
|
|
|
|
string(REPLACE libclang liblldb LIBLLDB_LIBRARIES "${LIBCLANG_LIBRARIES}") |
|
|
|
|
set(LIBLLDB_INCLUDE_DIRS ${LIBCLANG_INCLUDE_DIRS}) |
|
|
|
|
if(NOT EXISTS "${LIBLLDB_LIBRARIES}") # In case lldb has been separated into another package as in homebrew |
|
|
|
|
string(REPLACE llvm lldb LIBLLDB_LIBRARIES "${LIBLLDB_LIBRARIES}") |
|
|
|
|
string(REPLACE llvm lldb LIBLLDB_INCLUDE_DIRS "${LIBCLANG_INCLUDE_DIRS}") |
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(EXISTS "${LIBLLDB_LIBRARIES}") |
|
|
|
|
set(LIBLLDB_FOUND TRUE) |
|
|
|
|
|