Browse Source

Updated cmake and docs since homebrew now has separate lldb package

master
eidheim 3 weeks ago
parent
commit
44288017b3
  1. 4
      CMakeLists.txt
  2. 8
      docs/install.md

4
CMakeLists.txt

@ -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)

8
docs/install.md

@ -180,13 +180,7 @@ make install
Install dependencies:
```sh
brew install cmake pkg-config boost gtksourceviewmm3 gnome-icon-theme aspell llvm clang-format libgit2 zlib libxml2 universal-ctags
```
Mojave users might need to install headers:
```sh
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
brew install cmake pkg-config boost gtksourceviewmm3 gnome-icon-theme aspell llvm lldb clang-format libgit2 zlib libxml2 universal-ctags
```
Get juCi++ source, compile and install:

Loading…
Cancel
Save