Skip to content

Commit 1beb37d

Browse files
CMakeLists.txt: Pass CMAKE_BUILD_TYPE from Zephyr build
to the TFM build via KConfig (CONFIG_TFM_CMAKE_BUILD_TYPE). Upstream PR: #44 Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
1 parent 96340fb commit 1beb37d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ if (CONFIG_BUILD_WITH_TFM)
207207
${TFM_BL2_ARG}
208208
${TFM_IPC_ARG}
209209
${TFM_REGRESSION_ARG}
210+
CMAKE_BUILD_TYPE ${CONFIG_TFM_CMAKE_BUILD_TYPE}
210211
)
211212

212213
zephyr_link_libraries(tfm_api)

0 commit comments

Comments
 (0)