From 4fcd9186e9c274f5357ee1619420f45ee4eda2d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrdli=C4=8Dka?= Date: Mon, 14 Feb 2022 13:04:05 +0100 Subject: [PATCH] Infer WIN32 and MACOSX_BUNDLE from respective variables --- src/CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 27cbad661..704024067 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -11,14 +11,13 @@ # Authors: David Hrdlička, # dob205 # -# Copyright 2020,2021 David Hrdlička. +# Copyright 2020-2022 David Hrdlička. # Copyright 2021 dob205. # -# WIN32 marks us as a GUI app on Windows -add_executable(86Box WIN32 MACOSX_BUNDLE 86box.c config.c log.c random.c timer.c io.c acpi.c apm.c - dma.c ddma.c discord.c nmi.c pic.c pit.c port_6x.c port_92.c ppi.c pci.c mca.c usb.c fifo8.c - device.c nvr.c nvr_at.c nvr_ps2.c) +add_executable(86Box 86box.c config.c log.c random.c timer.c io.c acpi.c apm.c + dma.c ddma.c discord.c nmi.c pic.c pit.c port_6x.c port_92.c ppi.c pci.c + mca.c usb.c fifo8.c device.c nvr.c nvr_at.c nvr_ps2.c) if(CPPTHREADS) target_sources(86Box PRIVATE thread.cpp)