Skip to content

Commit

Permalink
add C++11 flags to whoever uses that lib
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud authored and suryaambrose committed May 16, 2016
1 parent 69c418c commit c26f57e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/libqi-extras.cmake.em
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@[if DEVELSPACE]@
include_directories(@(CATKIN_DEVEL_PREFIX)/include)
@[end if]@
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
endif()

0 comments on commit c26f57e

Please sign in to comment.