cmake: fix rpi
This commit is contained in:
@@ -248,6 +248,9 @@ target_include_directories(proxmark3 PRIVATE
|
|||||||
if (APPLE)
|
if (APPLE)
|
||||||
set_target_properties(proxmark3 PROPERTIES LINK_FLAGS "-Wl,-F/Library/Frameworks, -L/usr/local/opt/readline/lib")
|
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")
|
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)
|
endif (APPLE)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user