Globally define -DPX4_CRYPTO when the board defines some crypto backend

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen 2021-09-09 14:40:01 +03:00 committed by Beat Küng
parent 3db76d88fe
commit 6b22fe99b7
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,7 @@ function(px4_add_board)
if(CRYPTO)
set(PX4_CRYPTO ${CRYPTO} CACHE STRING "PX4 crypto implementation" FORCE)
add_definitions(-DPX4_CRYPTO)
endif()
if(KEYSTORE)