Skip to content

Commit a8c205a

Browse files
committed
Fix Implicit Include Build Error
1 parent 448c6d5 commit a8c205a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ add_library( LuaImGui SHARED
5959
${FMGUI_SRC}
6060
)
6161

62-
set_property(TARGET LuaImGui PROPERTY CXX_STANDARD 23)
62+
if (CMAKE_VERSION VERSION_GREATER 3.12)
63+
set_property(TARGET LuaImGui PROPERTY CXX_STANDARD 23)
64+
endif()
6365

6466
add_subdirectory("ext/minhook")
6567

src/ImGuiDisplay.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "ImguiDisplay.h"
22

33
#include <FmGui.hpp>
4+
#include <format>
45
#include <functional>
56
#include <imgui.h>
67
#include "Fonts/Fonts.h"

src/ImGuiDisplay.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
#include <string>
77
#include <unordered_map>
88
#include <optional>
9-
#include <future>
10-
#include "ThreadSafeQueue.h"
9+
#include <mutex>
1110
#include "ImGuiLog.h"
1211
#include "include/LuaImGui.h"
1312

0 commit comments

Comments
 (0)