Skip to content

Commit

Permalink
remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
171930433 committed Mar 25, 2024
1 parent 39c650f commit 877a071
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 52 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ project(yaLanTingLibs


# set(SYSROOT_DIR /opt/zhito/sysroot)
# set(CMAKE_PREFIX_PATH "/home/gsk/pro/CyberRT/install")
if(NOT CMAKE_PREFIX_PATH)
set(CMAKE_PREFIX_PATH "/home/gsk/pro/ubuntu2204_docker/install")
set(CMAKE_PREFIX_PATH "/home/gsk/pro/CyberRT/install")
# set(CMAKE_PREFIX_PATH "/home/gsk/pro/ubuntu2204_docker/install")
endif()

find_package(protobuf REQUIRED)
Expand Down
10 changes: 0 additions & 10 deletions src/example/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@

set(ENV{proto_message} "proto_message")
set(ENV{struct_pb_options} "namespace=zhito.inner_struct,converter_namespace=zhito.converter")

# 设置编译器选项
add_compile_options(-Wno-attributes)

Expand All @@ -14,13 +10,7 @@ include(${struct_pb_plugin_DIRS}/cmake/struct_pb.cmake)
find_package(PCL REQUIRED COMPONENTS common io)
find_package(OpenCV REQUIRED COMPONENTS core)


file(GLOB_RECURSE PROTO_FILES "*.proto")
# set(PROTO_FILES
# "/home/gsk/pro/yalantinglibs/src/example/base.proto"
# "/home/gsk/pro/yalantinglibs/src/example/message/zframe.proto"
# "/home/gsk/pro/yalantinglibs/src/example/message/imu.proto" )


protobuf_generate_modified(
LANGUAGE cpp
Expand Down
40 changes: 0 additions & 40 deletions src/example/message/CMakeLists.txt

This file was deleted.

0 comments on commit 877a071

Please sign in to comment.