Fix Cmake build because of renamed file.

This commit is contained in:
Sean Ramey
2021-03-25 03:13:33 -05:00
parent 692a4eef4f
commit ce4a97967f
2 changed files with 4 additions and 4 deletions

View File

@@ -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)
add_subdirectory(win)

View File

@@ -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)
dxguid imm32 hid setupapi uxtheme version winmm psapi)