From ce4a97967f847269175580caadeef422d767deb7 Mon Sep 17 00:00:00 2001 From: Sean Ramey Date: Thu, 25 Mar 2021 03:13:33 -0500 Subject: [PATCH] Fix Cmake build because of renamed file. --- src/CMakeLists.txt | 4 ++-- src/win/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3e0b0515d..245c696a8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -14,7 +14,7 @@ # # WIN32 marks us as a GUI app on Windows -add_executable(86Box WIN32 pc.c config.c random.c timer.c io.c acpi.c apm.c +add_executable(86Box WIN32 86box.c config.c random.c timer.c io.c acpi.c apm.c dma.c ddma.c nmi.c pic.c pit.c port_92.c ppi.c pci.c mca.c usb.c device.c nvr.c nvr_at.c nvr_ps2.c) @@ -119,4 +119,4 @@ add_subdirectory(sio) add_subdirectory(scsi) add_subdirectory(sound) add_subdirectory(video) -add_subdirectory(win) \ No newline at end of file +add_subdirectory(win) diff --git a/src/win/CMakeLists.txt b/src/win/CMakeLists.txt index f8c248ae3..dd5e7b28c 100644 --- a/src/win/CMakeLists.txt +++ b/src/win/CMakeLists.txt @@ -38,11 +38,11 @@ else() endif() if(DISCORD) - # PUBLIC due to config.c and pc.c + # PUBLIC due to config.c and 86box.c target_compile_definitions(ui PUBLIC USE_DISCORD) target_sources(ui PRIVATE win_discord.c) endif() target_link_libraries(86Box advapi32 comctl32 comdlg32 gdi32 shell32 iphlpapi - dxguid imm32 hid setupapi uxtheme version winmm psapi) \ No newline at end of file + dxguid imm32 hid setupapi uxtheme version winmm psapi)