From 79ae6b254b580b69ab9b9123d47ca4eabc86f90d Mon Sep 17 00:00:00 2001 From: v4hn Date: Thu, 6 Oct 2022 09:06:59 +0200 Subject: [PATCH] do not enforce obsolete c++ standard 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. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e93c95..dc799b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})