Skip to content

Commit

Permalink
compile in 2204
Browse files Browse the repository at this point in the history
  • Loading branch information
171930433 committed Mar 9, 2024
1 parent 2de2c21 commit 7c40c51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@ if(CMAKE_PROJECT_NAME STREQUAL "yaLanTingLibs") # if ylt is top-level project
endif()


# add_subdirectory(src/struct_pb/protoc-plugin)
# set(CMAKE_C_COMPILER gcc-9)
# set(CMAKE_CXX_COMPILER g++-9)
list(APPEND CMAKE_PREFIX_PATH "/home/gsk/pro/CyberRT/install/")

add_subdirectory(src/struct_pb/protoc-plugin)
3 changes: 1 addition & 2 deletions src/struct_pb/protoc-plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required(VERSION 3.10)
set(CMAKE_C_COMPILER gcc-9)
set(CMAKE_CXX_COMPILER g++-9)

set(CMAKE_CXX_STANDARD 17)

project(protoc-gen-struct_pb)
Expand Down

0 comments on commit 7c40c51

Please sign in to comment.