From 8553a8d63f97cfa8d64b5b2260e81f8c896a8398 Mon Sep 17 00:00:00 2001
From: nancy.liao <huihui.liao@greentest.com.cn>
Date: 周五, 23 5月 2025 18:36:03 +0800
Subject: [PATCH] 修改部分因为标准原因的报错

---
 src/library/locate/CMakeLists.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/library/locate/CMakeLists.txt b/src/library/locate/CMakeLists.txt
index 0862d6c..22d78b8 100644
--- a/src/library/locate/CMakeLists.txt
+++ b/src/library/locate/CMakeLists.txt
@@ -7,6 +7,11 @@
     LocatorFactory.cpp
 )
 
+target_include_directories(locate PRIVATE
+        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../../include>
+        $<BUILD_INTERFACE:${LCC_INCLUDE_DIR}>
+)
+
 if(CODE_COVERAGE AND UNIX)
 	  target_compile_options(locate PUBLIC -O0 -g --coverage)
 endif(CODE_COVERAGE AND UNIX)
\ No newline at end of file

--
Gitblit v1.9.1