cmake macOS: use brew installed readline

This commit is contained in:
Uli Heilmeier 2020-04-17 13:08:52 +02:00 committed by Philippe Teuwen
parent c888fcdb7e
commit 18f875cb84

View file

@ -418,7 +418,8 @@ add_executable(
)
if (APPLE)
set_target_properties(proxmark3 PROPERTIES LINK_FLAGS "-Wl,-F/Library/Frameworks")
set_target_properties(proxmark3 PROPERTIES LINK_FLAGS "-Wl,-F/Library/Frameworks, -L/usr/local/opt/readline/lib")
set_target_properties(proxmark3 PROPERTIES COMPILE_FLAGS "-I/usr/local/opt/readline/include")
endif (APPLE)