From 571b92bb991645f86e0dc8418eab33c84920de16 Mon Sep 17 00:00:00 2001 From: Matthew Laux Date: Mon, 7 Dec 2020 17:28:08 -0800 Subject: [PATCH] fix cmakelists now that imgui is gone --- cli/CMakeLists.txt | 16 ++-------------- cli/emulator.c | 2 +- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/cli/CMakeLists.txt b/cli/CMakeLists.txt index ba76d35..17fa0b3 100644 --- a/cli/CMakeLists.txt +++ b/cli/CMakeLists.txt @@ -13,22 +13,10 @@ add_executable(gb6 ../src/lcd.c ../src/rom.c emulator.c - gl3w.c - imgui.cpp - imgui_demo.cpp - imgui_draw.cpp - imgui_impl_glfw.cpp - imgui_impl_opengl3.cpp - imgui_widgets.cpp - main.cpp ) target_link_libraries(gb6 - glfw3 - "-framework CoreFoundation" - "-framework OpenGL" - "-framework Cocoa" - "-framework IOKit" - "-framework CoreVideo" +# glfw3 +# "-framework OpenGL" ) diff --git a/cli/emulator.c b/cli/emulator.c index 0c1d5f1..9f680b3 100644 --- a/cli/emulator.c +++ b/cli/emulator.c @@ -5,7 +5,7 @@ #include "rom.h" #include "lcd.h" -int cli_main(int argc, char *argv[]) +int main(int argc, char *argv[]) { struct cpu cpu; struct rom rom;