rosbuild_add_compile_flags does not work [closed]
Hi there,
i have multiple targets in my CMakeLists.txt (C++ and C targets) and would like to set different compiler flags for each target.
add_definitions() works, but it conflicts with other targets in the project:
rosbuild_add_library(Libname ${SRCS}) add_definitions("-std=c++0x")
I replaced the add_definitions() with rosbuild_add_compile_flags(Libname "-std=c++0x") but he seems to ignore the command. Am I missing something?
Closed for the following reason
question is not relevant or outdated by
tfoote
close date 2015-11-06 16:03:06.552249
add a comment