From 395bcd42075a2638f4eedc62107ec55b240273b4 Mon Sep 17 00:00:00 2001
From: Sergey Fedorov <barracuda@macos-powerpc.org>
Date: Wed, 6 Nov 2024 14:43:00 +0800
Subject: [PATCH] Tiger-specific adjustments to CMakeLists

---
 CMakeLists.txt | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 09ae13a5..4605edd8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -840,7 +840,7 @@ elseif(APPLE)
         src/common/networking_linux.c
         src/common/processing_linux.c
         src/common/sysctl.c
-        src/detection/battery/battery_apple.c
+        src/detection/battery/battery_nosupport.c
         src/detection/bios/bios_apple.c
         src/detection/bluetooth/bluetooth_nosupport.c
         src/detection/bluetoothradio/bluetoothradio_nosupport.c
@@ -855,8 +855,8 @@ elseif(APPLE)
         src/detection/cursor/cursor_apple.m
         src/detection/disk/disk_bsd.c
         src/detection/dns/dns_linux.c
-        src/detection/physicaldisk/physicaldisk_apple.c
-        src/detection/physicalmemory/physicalmemory_apple.m
+        src/detection/physicaldisk/physicaldisk_nosupport.c
+        src/detection/physicalmemory/physicalmemory_nosupport.c
         src/detection/diskio/diskio_apple.c
         src/detection/displayserver/displayserver_apple.c
         src/detection/font/font_apple.m
@@ -901,7 +901,7 @@ elseif(APPLE)
         src/util/apple/osascript.m
         src/util/apple/smc_temps.c
         src/util/platform/FFPlatform_unix.c
-        src/util/binary_apple.c
+        src/util/binary_linux.c
     )
 elseif(WIN32)
     list(APPEND LIBFASTFETCH_SRC
@@ -1392,7 +1392,6 @@ elseif(APPLE)
         PRIVATE "-framework Cocoa"
         PRIVATE "-framework CoreFoundation"
         PRIVATE "-framework CoreAudio"
-        PRIVATE "-framework CoreMedia"
         PRIVATE "-framework CoreVideo"
         PRIVATE "-framework IOBluetooth"
         PRIVATE "-framework IOKit"
