Hello
I tried to proove the 3.3 solution of Mordern C++ classes and when I use catkin_make that appears.
This is my CMakeList.txt
cmake_minimum_required(VERSION 3.0.2)
project(exercise-33)
find_package(catkin REQUIRED COMPONENTS
roscpp
nav_msgs
)
catkin_package(
INCLUDE_DIRS include
CATKIN_DEPENDS roscpp nav_msgs
)
include_directories(
${catkin_INCLUDE_DIRS}
)
add_executable(exercise33
src/exercise33.cpp
src/control_turtle.cpp
)
add_dependencies(exercise33 ${exercise33_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(exercise33
${catkin_LIBRARIES}
)
What am I forgetting?