Skip to content

Commit 6a09f9c

Browse files
committed
Remove -Werror=deprecated-declarations to compile for melodic
1 parent 9f37a95 commit 6a09f9c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

CMakeLists_catkin.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ add_definitions(-DLIBQI_VERSION=${naoqi_libqi_VERSION_MAJOR}${naoqi_libqi_VERSIO
2929

3030
catkin_package(LIBRARIES naoqi_driver_module naoqi_driver)
3131

32-
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
33-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=deprecated-declarations")
34-
endif()
35-
3632
include_directories( include ${catkin_INCLUDE_DIRS})
3733

3834
# create the different libraries

0 commit comments

Comments
 (0)