Plugin SDK dependency should be private
Otherwise it defeats the purpose of the pimpl idiom.
diff --git a/detectors/psi/src/CMakeLists.txt b/detectors/psi/src/CMakeLists.txt
index a89ca0da..b2a0be92 100644
--- a/detectors/psi/src/CMakeLists.txt
+++ b/detectors/psi/src/CMakeLists.txt
@@ -37,7 +37,7 @@ target_include_directories(psi_hw
target_link_libraries(psi_hw
PUBLIC lima_core
- PUBLIC slsDetectorShared slsReceiverShared
+ PRIVATE slsDetectorShared slsReceiverShared
)
The SDK is used in the utils.hpp
file included in processing to perform the reconstruction.