Skip to content
Snippets Groups Projects
Commit 96ba0272 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Merge branch 'devel' into 13-migrate-to-state-composites

parents bf69e050 076385d8
No related branches found
No related tags found
3 merge requests!28release after RAL,!27After 2nd RAL submission,!15Resolve "Migrate to state composites"
......@@ -235,6 +235,17 @@ SET(SRCS_YAML
# SET(SRCS_WRAPPER)
# ENDIF(Ceres_FOUND)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
message(STATUS "Using C++ compiler clang")
target_compile_options(${PROJECT_NAME} PRIVATE -Winconsistent-missing-override)
# using Clang
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
message(STATUS "Using C++ compiler gnu")
target_compile_options(${PROJECT_NAME} PRIVATE -Wsuggest-override)
# using GCC
endif()
# create the shared library
ADD_LIBRARY(${PLUGIN_NAME}
SHARED
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment