diff --git a/extern/imgui/CMakeLists.txt b/extern/imgui/CMakeLists.txt index c0a2ce5..b170ed7 100644 --- a/extern/imgui/CMakeLists.txt +++ b/extern/imgui/CMakeLists.txt @@ -16,4 +16,5 @@ add_library(imgui src/imstb_textedit.h src/imstb_truetype.h) target_include_directories(imgui PUBLIC include PRIVATE src) -target_link_libraries(imgui PUBLIC SDL2::Core glad) \ No newline at end of file +target_link_libraries(imgui PUBLIC SDL2::Core glad) +target_compile_definitions(imgui PUBLIC IMGUI_IMPL_OPENGL_LOADER_GLAD) \ No newline at end of file diff --git a/include/octree.h b/include/octree.h index fceb75b..c6758cf 100644 --- a/include/octree.h +++ b/include/octree.h @@ -1,5 +1,7 @@ #pragma once +#include + #include "aabb.h" constexpr int max_contained_types = 16;