diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 64271cf..c8f2086 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -9,3 +9,5 @@ target_link_libraries(geopro_core PUBLIC Eigen3::Eigen) target_compile_features(geopro_core PUBLIC cxx_std_17) # 铁律:core 为纯业务逻辑层,绝不链接 Qt / VTK。 +# 顶层全局开启了 AUTOMOC/UIC/RCC(为 view/app 服务);core 与 Qt 无关,显式关闭,保持纯净。 +set_target_properties(geopro_core PROPERTIES AUTOMOC OFF AUTOUIC OFF AUTORCC OFF)