|
1 | 1 | cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url |
2 | 2 |
|
3 | 3 | project(fastfetch |
4 | | - VERSION 2.12.0 |
| 4 | + VERSION 2.13.0 |
5 | 5 | LANGUAGES C |
6 | 6 | DESCRIPTION "Fast neofetch-like system information tool" |
7 | 7 | HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch" |
@@ -115,7 +115,7 @@ endif() |
115 | 115 |
|
116 | 116 | if(WIN32) |
117 | 117 | set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--tsaware -Wl,--build-id -Wl,--subsystem,console:6.1,--major-os-version,6,--minor-os-version,1") |
118 | | -elseif(APPLE) |
| 118 | +elseif(APPLE AND CMAKE_C_COMPILER_ID MATCHES "Clang") |
119 | 119 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fobjc-arc") |
120 | 120 | endif() |
121 | 121 |
|
@@ -284,6 +284,7 @@ set(LIBFASTFETCH_SRC |
284 | 284 | src/common/properties.c |
285 | 285 | src/common/settings.c |
286 | 286 | src/common/temps.c |
| 287 | + src/detection/bootmgr/bootmgr.c |
287 | 288 | src/detection/chassis/chassis.c |
288 | 289 | src/detection/cpu/cpu.c |
289 | 290 | src/detection/cpuusage/cpuusage.c |
@@ -314,6 +315,7 @@ set(LIBFASTFETCH_SRC |
314 | 315 | src/modules/bios/bios.c |
315 | 316 | src/modules/bluetooth/bluetooth.c |
316 | 317 | src/modules/board/board.c |
| 318 | + src/modules/bootmgr/bootmgr.c |
317 | 319 | src/modules/brightness/brightness.c |
318 | 320 | src/modules/break/break.c |
319 | 321 | src/modules/camera/camera.c |
@@ -394,6 +396,7 @@ if(LINUX) |
394 | 396 | src/detection/battery/battery_linux.c |
395 | 397 | src/detection/bios/bios_linux.c |
396 | 398 | src/detection/board/board_linux.c |
| 399 | + src/detection/bootmgr/bootmgr_linux.c |
397 | 400 | src/detection/brightness/brightness_linux.c |
398 | 401 | src/detection/chassis/chassis_linux.c |
399 | 402 | src/detection/cpu/cpu_linux.c |
@@ -462,6 +465,7 @@ elseif(ANDROID) |
462 | 465 | src/detection/bios/bios_android.c |
463 | 466 | src/detection/bluetooth/bluetooth_nosupport.c |
464 | 467 | src/detection/board/board_android.c |
| 468 | + src/detection/bootmgr/bootmgr_nosupport.c |
465 | 469 | src/detection/brightness/brightness_nosupport.c |
466 | 470 | src/detection/chassis/chassis_nosupport.c |
467 | 471 | src/detection/cpu/cpu_linux.c |
@@ -520,6 +524,7 @@ elseif(BSD) |
520 | 524 | src/detection/bios/bios_bsd.c |
521 | 525 | src/detection/bluetooth/bluetooth_linux.c |
522 | 526 | src/detection/board/board_bsd.c |
| 527 | + src/detection/bootmgr/bootmgr_bsd.c |
523 | 528 | src/detection/brightness/brightness_bsd.c |
524 | 529 | src/detection/chassis/chassis_bsd.c |
525 | 530 | src/detection/cpu/cpu_bsd.c |
@@ -588,6 +593,7 @@ elseif(APPLE) |
588 | 593 | src/detection/bios/bios_apple.c |
589 | 594 | src/detection/bluetooth/bluetooth_apple.m |
590 | 595 | src/detection/board/board_apple.c |
| 596 | + src/detection/bootmgr/bootmgr_apple.c |
591 | 597 | src/detection/brightness/brightness_apple.c |
592 | 598 | src/detection/chassis/chassis_nosupport.c |
593 | 599 | src/detection/cpu/cpu_apple.c |
@@ -647,6 +653,7 @@ elseif(WIN32) |
647 | 653 | src/detection/bios/bios_windows.c |
648 | 654 | src/detection/bluetooth/bluetooth_windows.c |
649 | 655 | src/detection/board/board_windows.c |
| 656 | + src/detection/bootmgr/bootmgr_windows.c |
650 | 657 | src/detection/brightness/brightness_windows.cpp |
651 | 658 | src/detection/chassis/chassis_windows.c |
652 | 659 | src/detection/cpu/cpu_windows.c |
|
0 commit comments