ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
CMAKE_C_FLAGS
are for compiling C files, but you're building C++ files, so you need to set the CMAKE_CXX_FLAGS
variable.
The CMake documentation includes a list of useful variables and describes what they're used for.