mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-03 11:44:18 +01:00
CMake: Add initial support for MidnightBSD (#1377)
* Add initial support for MidnightBSD * Cleanup some issues identified through code review. Add libzfs check as MidnightBSD does have zfs. * Add MidnightBSD check to the version.c detection * Remove `OR MidnightBSD` tests * Clean up --------- Co-authored-by: Carter Li <CarterLi@users.noreply.github.com>
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
#define FF_SYSNAME "Linux"
|
||||
#elif defined(__DragonFly__) // We define `__FreeBSD__` on DragonFly BSD for simplification
|
||||
#define FF_SYSNAME "DragonFly"
|
||||
#elif defined(__MidnightBSD__)
|
||||
#define FF_SYSNAME "MidnightBSD"
|
||||
#elif defined(__FreeBSD__)
|
||||
#define FF_SYSNAME "FreeBSD"
|
||||
#elif defined(__APPLE__)
|
||||
|
||||
Reference in New Issue
Block a user