Skip to content
Commit 2a7bb15c authored by Jaeden Amero's avatar Jaeden Amero
Browse files

Pass CMAKE_BUILD_TYPE to external projects



For projects built via ExternalProject_Add, CMake does not pass on the
CMAKE_BUILD_TYPE variable. This means we have to, for example, set
TFM_CMAKE_ARGS to -DCMAKE_BUILD_TYPE=Debug to get debug builds of TF-M.
Now, we can just set CMAKE_BUILD_TYPE at the top level and external
projects will be built with the same build type.

Signed-off-by: Jaeden Amero's avatarJaeden Amero <jaeden.amero@arm.com>
parent 9036331c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment