mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
cmake deps: add -fPIC so they can be integrated in a pm3 shared lib
This commit is contained in:
parent
eafeb47126
commit
9478dbc071
9 changed files with 15 additions and 0 deletions
|
@ -12,3 +12,4 @@ add_library(tinycbor STATIC
|
|||
target_include_directories(tinycbor INTERFACE tinycbor)
|
||||
# Strange errors on Mingw when compiling with -O3
|
||||
target_compile_options(tinycbor PRIVATE -Wall -Werror -O2)
|
||||
set_property(TARGET tinycbor PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue