DPE: Fix HOST_BUILD

The build was broken when the t_cose upstream repository
replaced the local copy.

Signed-off-by: Tamas Ban <tamas.ban@arm.com>
Change-Id: I92d83bb82be4e155c9b7aad8d7553b9f3940fdc2
diff --git a/partitions/dice_protection_environment/CMakeLists.txt b/partitions/dice_protection_environment/CMakeLists.txt
index 3ca1beb..a2609b8 100644
--- a/partitions/dice_protection_environment/CMakeLists.txt
+++ b/partitions/dice_protection_environment/CMakeLists.txt
@@ -1,5 +1,5 @@
 #-------------------------------------------------------------------------------
-# Copyright (c) 2023-2024, Arm Limited. All rights reserved.
+# Copyright (c) 2023-2025, Arm Limited. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-3-Clause
 #
@@ -122,7 +122,8 @@
                                  -G ${CMAKE_GENERATOR}
                                  -DMBEDCRYPTO_PATH=${MBEDCRYPTO_PATH} # External dependency
                                  -DQCBOR_PATH=${QCBOR_PATH}           # External dependency
-                                 -DTFM_PATH=${CMAKE_SOURCE_DIR}       # To locate t_cose src
+                                 -DTFM_PATH=${CMAKE_SOURCE_DIR}       # To locate tfm_t_cose.cmake
+                                 -DT_COSE_PATH=${T_COSE_PATH}         # External dependency
                                  -DTFM_TEST_PATH=${TFM_TEST_PATH}     # To locate test framework src
                                  -DTFM_PARTITION_LOG_LEVEL=${TFM_PARTITION_LOG_LEVEL}
                                  $<$<BOOL:${AFL_CC}>:-DCMAKE_C_COMPILER=${AFL_CC}>
diff --git a/partitions/dice_protection_environment/test/host/CMakeLists.txt b/partitions/dice_protection_environment/test/host/CMakeLists.txt
index cb8e4f4..1a5040f 100644
--- a/partitions/dice_protection_environment/test/host/CMakeLists.txt
+++ b/partitions/dice_protection_environment/test/host/CMakeLists.txt
@@ -1,5 +1,5 @@
 #-------------------------------------------------------------------------------
-# Copyright (c) 2024, Arm Limited. All rights reserved.
+# Copyright (c) 2024-2025, Arm Limited. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-3-Clause
 #
@@ -46,15 +46,13 @@
 
 ############################### T_COSE Library #################################
 
-set(T_COSE_PATH ${TFM_PATH}/lib/ext/t_cose)
-
 # Empty target just to make build working
 add_library(tfm_config INTERFACE)
 
 # Empty target just to make build working
 add_library(psa_crypto_config INTERFACE)
 
-include(${T_COSE_PATH}/tfm_t_cose.cmake)
+include(${TFM_PATH}/lib/ext/t_cose/tfm_t_cose.cmake)
 
 add_library(t_cose STATIC EXCLUDE_FROM_ALL)