Skip to content

Commit

Permalink
do not enforce obsolete c++ standard
Browse files Browse the repository at this point in the history
C++14 has been the default in gcc/clang since before Ubuntu 18.04
and enforcing an old standard breaks with current versions of log4cxx.
  • Loading branch information
v4hn committed Oct 6, 2022
1 parent ac73a2f commit c82d472
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ CATKIN_DEPENDS
)
SET(GCC_NEWDTAGS_LINK_FLAGS "-Wl,--disable-new-dtags")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${GCC_NEWDTAGS_LINK_FLAGS}")
set (CMAKE_CXX_STANDARD 11)
add_executable(${PROJECT_NAME} src/main.cpp)
target_link_libraries(${PROJECT_NAME} rt ${catkin_LIBRARIES} ${TinyXML_LIBRARIES})
add_dependencies(${PROJECT_NAME} ${catkin_EXPORTED_TARGETS})
Expand Down

0 comments on commit c82d472

Please sign in to comment.