Fix passing DEBUG_APDU flag.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2022-08-18 11:55:16 +02:00
parent 648a374ebb
commit a57c3b691f
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -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 )