diff --git a/CMakeLists.txt b/CMakeLists.txt index b3eeb49..4dc14e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,7 +36,7 @@ set(CANDLE_SRC # Static library target add_library(Candle-s STATIC ${CANDLE_SRC}) -target_include_directories(Candle-s PRIVATE include) +target_include_directories(Candle-s PUBLIC include) target_link_libraries(Candle-s sfml-graphics) option(RADIAL_LIGHT_FIX "Use RadialLight fix for errors with textures" OFF) diff --git a/include/Candle/geometry/Line.hpp b/include/Candle/geometry/Line.hpp index 18cb1a9..b4eaaf9 100644 --- a/include/Candle/geometry/Line.hpp +++ b/include/Candle/geometry/Line.hpp @@ -7,6 +7,8 @@ #ifndef __SFML_UTIL_GEOMETRY_LINE_HPP__ #define __SFML_UTIL_GEOMETRY_LINE_HPP__ +#include + #include #include "Candle/geometry/Vector2.hpp"