Skip to content

Commit

Permalink
Make maiden-repl compile on macOS 13.1 Ventura (#1645)
Browse files Browse the repository at this point in the history
  • Loading branch information
barksten authored Jan 19, 2023
1 parent 2eaf688 commit 91f3d87
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions maiden-repl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ add_executable(maiden-repl ${SRC})

if(UNIX)
if(APPLE)
find_library(pthread libpthread.dylib REQUIRED)
find_library(readline libreadline.dylib
NO_DEFAULT_PATH
HINTS
/usr/local/opt/readline/lib
/opt/homebrew/opt/readline/lib
REQUIRED)
find_library(nanomsg libnanomsg.dylib
NO_DEFAULT_PATH
HINTS
/opt/homebrew/opt/nanomsg/lib
REQUIRED)
find_library(nanomsg libnanomsg.dylib REQUIRED)
find_library(ncurses libcurses.dylib REQUIRED)
find_library(panel libpanel.dylib REQUIRED)
target_link_libraries(maiden-repl
${pthread}
${readline}
${ncurses}
${panel}
ncurses
panel
${nanomsg})
include_directories(/usr/local/include /usr/local/opt/readline/include)
include_directories(/usr/local/include /opt/homebrew/opt/nanomsg/include /opt/homebrew/opt/readline/include)
else()
set(CURSES_NEED_NCURSES TRUE)
set(CURSES_NEED_WIDE TRUE) # Required for unicode
Expand Down
2 changes: 1 addition & 1 deletion maiden-repl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ building
`maiden-repl` is known to build on:
* monome norns, norns shield os images
* linux (debian buster)
* macOS (10.14 Mojave)
* macOS (13.1 Ventura)

when building directly on a norns device `maiden-repl` should be built by
default as part of the `waf` based build system for the full norns software
Expand Down

0 comments on commit 91f3d87

Please sign in to comment.