Skip to content

Commit

Permalink
[Hydrus XI][CMake] use recommended option to assign the g++ version
Browse files Browse the repository at this point in the history
  • Loading branch information
tongtybj committed Nov 26, 2023
1 parent e36137d commit 2f4bc04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robots/hydrus_xi/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.0.2)
project(hydrus_xi)

#add_compile_options(-std=c++17)
add_compile_options(-std=c++17)
# Workaround for the build error that "add_compile_options(-std=c++17)" does not work, because of unknown -std=gnu++14 flag
# maybe because of osqp or osqp-eigen
set(CMAKE_CXX_STANDARD 17)
#set(CMAKE_CXX_STANDARD 17)

find_package(catkin REQUIRED COMPONENTS
angles
Expand Down

0 comments on commit 2f4bc04

Please sign in to comment.