Skip to content

Commit

Permalink
Try to fix linking to readline on MacOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
ratkosrb committed May 20, 2024
1 parent 20f574d commit e3cb599
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mangosd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ if(UNIX)
endif()

if(APPLE)
include_directories(/usr/local/opt/readline/include)
link_directories(/usr/local/opt/readline/lib)
set(EXECUTABLE_LINK_FLAGS "-framework Carbon ${EXECUTABLE_LINK_FLAGS}")
endif()

Expand Down

0 comments on commit e3cb599

Please sign in to comment.