Skip to content
Commit 902751a1 authored by Attie Grande's avatar Attie Grande Committed by Fabio Baltieri
Browse files

cmake: hex: fix conversion of zero to hex



Previously, `to_hex(0 output)` would have placed `0x` into the `output`
variable, which is undesirable... this fix ensures that `0x0` is placed
into this variable if the input is zero.

Signed-off-by: default avatarAttie Grande <attie.grande@argentum-systems.co.uk>
parent 554f2ba0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment