mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-07 16:48:15 +08:00
sort out amiitool linking to pm3 client in cmake
This commit is contained in:
parent
bf62e47575
commit
937e754830
1 changed files with 10 additions and 2 deletions
|
@ -14,10 +14,18 @@ add_library(pm3rrg_rdv4_amiibo STATIC
|
|||
if (NOT TARGET pm3rrg_rdv4_mbedtls)
|
||||
include(mbedtls.cmake)
|
||||
endif()
|
||||
|
||||
target_link_libraries(pm3rrg_rdv4_amiibo PRIVATE
|
||||
m
|
||||
pm3rrg_rdv4_mbedtls)
|
||||
target_include_directories(pm3rrg_rdv4_amiibo PRIVATE ../../include ../../common)
|
||||
target_include_directories(pm3rrg_rdv4_amiibo INTERFACE amiitool)
|
||||
|
||||
target_compile_options(pm3rrg_rdv4_amiibo PRIVATE -Wall -Werror -O3)
|
||||
set_property(TARGET pm3rrg_rdv4_amiibo PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
target_include_directories(pm3rrg_rdv4_amiibo PRIVATE amiitool
|
||||
../../common
|
||||
../../include
|
||||
../src
|
||||
jansson)
|
||||
|
||||
target_include_directories(pm3rrg_rdv4_amiibo INTERFACE amiitool)
|
Loading…
Reference in a new issue