message: adding implicit fallthrough for gnu 7 and later
diff: @@ -24,10 +24,14 @@ if(DOXYGEN_FOUND)
  VERBATIM)
  endif(DOXYGEN_FOUND)
  +if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "7.0.0")
  + set (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-Wimplicit-fallthrough=0")
  +endif()
  +
  ExternalProject_Add(cppmicroservices
  GIT_REPOSITORY https://github.com/cppmicroservices/cppmicroservices
  GIT_TAG v3.1.0
  - CMAKE_ARGS -DCMAKE_CXX_FLAGS='-Wimplicit-fallthrough=0'
  + CMAKE_ARGS -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}
  -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
  -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
  INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install DESTDIR=${CMAKE_BINARY_DIR}/cppus_install
  