mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
cmake: fix rpi
This commit is contained in:
parent
25c1f31222
commit
869d96f118
1 changed files with 3 additions and 0 deletions
|
@ -248,6 +248,9 @@ target_include_directories(proxmark3 PRIVATE
|
|||
if (APPLE)
|
||||
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")
|
||||
else (APPLE)
|
||||
# required for Raspberry Pi, but breaks with clang (OSX)
|
||||
set_target_properties(proxmark3 PROPERTIES LINK_FLAGS "-Wl,--as-needed -latomic -Wl,--no-as-needed")
|
||||
endif (APPLE)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue