mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-01-17 01:18:06 +00:00
Fix passing DEBUG_APDU flag.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
648a374ebb
commit
a57c3b691f
1 changed files with 4 additions and 0 deletions
|
|
@ -36,6 +36,10 @@ if (NOT DEFINED USB_PID)
|
|||
set(USB_PID 0xFCFD)
|
||||
endif()
|
||||
add_definitions(-DUSB_PID=${USB_PID})
|
||||
if (NOT DEFINED DEBUG_APDU)
|
||||
set(DEBUG_APDU 0)
|
||||
endif()
|
||||
add_definitions(-DDEBUG_APDU=${DEBUG_APDU})
|
||||
|
||||
find_package( PythonInterp 3.7 REQUIRED )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue