Fix: libts does not install trace.
Commit 0a03212f broke ts-service-test and psa-api-test build as it
removed trace.h from the install content of all deployments, but for
libts the file is needed.
Fix the issue by installing trace.h from the libts deployment only.
Signed-off-by: Gyorgy Szing <gyorgy.szing@arm.com>
Change-Id: Ia85acc3d3c73443c216338d4efa90467f95c0bf3
diff --git a/deployments/libts/libts.cmake b/deployments/libts/libts.cmake
index 20c3c0e..af13666 100644
--- a/deployments/libts/libts.cmake
+++ b/deployments/libts/libts.cmake
@@ -66,6 +66,9 @@
#-------------------------------------------------------------------------------
include(${TS_ROOT}/tools/cmake/common/ExportLibrary.cmake REQUIRED)
+set_property(TARGET "ts" APPEND PROPERTY
+ PUBLIC_HEADER "${TS_ROOT}/components/common/trace/include/trace.h")
+
# Exports library information in preparation for install
export_library(
TARGET "ts"