Skip to content
Commit f52debbd authored by Håkon Øye Amundsen's avatar Håkon Øye Amundsen Committed by Ioannis Glaropoulos
Browse files

modules: trusted-firmware-m: fix incorrect check of <option> args



'IPC' and 'REGRESSION' are passed to the <option>
argument of cmake_parse_arguments, hence they are always defined,
and 'if (DEFINED)' would always return TRUE.

Use 'if' directly instead of 'if DEFINED' to check if these
options are set or not.

Ref: NCSDK-7702

Signed-off-by: default avatarHåkon Øye Amundsen <haakon.amundsen@nordicsemi.no>
parent c097690f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment