diff --git a/client/deps/amiibo.cmake b/client/deps/amiibo.cmake index 491d90d60..c946c0682 100644 --- a/client/deps/amiibo.cmake +++ b/client/deps/amiibo.cmake @@ -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) \ No newline at end of file