mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-08 17:18:10 +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)
|
if (NOT TARGET pm3rrg_rdv4_mbedtls)
|
||||||
include(mbedtls.cmake)
|
include(mbedtls.cmake)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(pm3rrg_rdv4_amiibo PRIVATE
|
target_link_libraries(pm3rrg_rdv4_amiibo PRIVATE
|
||||||
m
|
m
|
||||||
pm3rrg_rdv4_mbedtls)
|
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)
|
target_compile_options(pm3rrg_rdv4_amiibo PRIVATE -Wall -Werror -O3)
|
||||||
set_property(TARGET pm3rrg_rdv4_amiibo PROPERTY POSITION_INDEPENDENT_CODE ON)
|
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