kimath: Enable warnings

kimath was missed when the original warnings infrastructure was added,
so enable warnings in it now.
This commit is contained in:
Ian McInerney 2023-03-10 13:46:59 +00:00
parent 9292158c76
commit 3ce4016221
1 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,9 @@
# Add all the warnings to the files
if( COMPILER_SUPPORTS_WARNINGS )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARN_FLAGS_CXX}")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARN_FLAGS_C}")
endif()
set( KIMATH_SRCS
src/bezier_curves.cpp
src/convert_basic_shapes_to_polygon.cpp