From 18f875cb84bf20a1aa9a7c411b143168d930bc06 Mon Sep 17 00:00:00 2001 From: Uli Heilmeier Date: Fri, 17 Apr 2020 13:08:52 +0200 Subject: [PATCH] cmake macOS: use brew installed readline --- client/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 14cbbf47d..f3ac5427e 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -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)