mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 00:30:50 +08:00
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:
1 parent
3db76d88fe
commit
6b22fe99b7
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user