Cleanup includes in kimath

This commit is contained in:
Ian McInerney 2023-03-10 13:43:38 +00:00
parent a6ebd60c3b
commit bc28287fa7
4 changed files with 3 additions and 5 deletions

View File

@ -45,8 +45,7 @@ target_include_directories( kimath PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
)
# core/optional.h is needed for OPT types
target_include_directories( kimath PRIVATE
${PROJECT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/include # core/kicad_algo.h is needed for shape_arc
${wxWidgets_LIBRARIES}
)

View File

@ -29,10 +29,10 @@
#include <math.h> // for sqrt
#include <stdlib.h> // for abs
#include <optional>
#include <ostream> // for operator<<, ostream, basic_os...
#include <type_traits> // for swap
#include <optional>
#include <math/vector2d.h>
#include <geometry/eda_angle.h>

View File

@ -30,7 +30,6 @@
#include <cstdio>
#include <deque> // for deque
#include <vector> // for vector
#include <iosfwd> // for string, stringstream
#include <memory>
#include <set> // for set

View File

@ -27,8 +27,8 @@
#ifndef __BOX2_H
#define __BOX2_H
#include <limits>
#include <algorithm>
#include <limits>
#include <optional>
#include <math/vector2d.h>