fix TerminalEmbed

This commit is contained in:
2026-02-15 16:07:21 -06:00
parent 0ab0f4af47
commit 2899932f7f
3 changed files with 52 additions and 5 deletions

View File

@@ -17,6 +17,10 @@
buildInputs = with pkgs; [
glfw
glew
curl
glm
nlohmann_json
];
buildPhase = ''
@@ -29,10 +33,12 @@
$imgui/backends/imgui_impl_opengl3.cpp \
$imgui/misc/cpp/*.cpp \
$imgui/*.cpp \
-DRENDERER=1 \
-DWINDOW=1 \
-DRENDERER_OPENGL=1 \
-DWINDOW_GLFW=1 \
-I include -I $imgui -I . \
-lGL -lglfw -lGLEW \
$(curl-config --cflags) \
$(curl-config --libs) \
-Wall \
-o $name -DIMGUI_IMPL_GLFW_DISABLE_X11
'';