@@ -405,6 +405,7 @@ set(LIBFASTFETCH_SRC
405405 src/modules/terminalsize/terminalsize.c
406406 src/modules/theme/theme.c
407407 src/modules/title/title.c
408+ src/modules/tpm/tpm.c
408409 src/modules/uptime/uptime.c
409410 src/modules/users/users.c
410411 src/modules/version /version .c
@@ -495,6 +496,7 @@ if(LINUX)
495496 src/detection/terminalshell/terminalshell_linux.c
496497 src/detection/terminalsize/terminalsize_linux.c
497498 src/detection/theme/theme_linux.c
499+ src/detection/tpm/tpm_linux.c
498500 src/detection/uptime/uptime_linux.c
499501 src/detection/users/users_linux.c
500502 src/detection/wallpaper/wallpaper_linux.c
@@ -558,6 +560,7 @@ elseif(ANDROID)
558560 src/detection/terminalshell/terminalshell_linux.c
559561 src/detection/terminalsize/terminalsize_linux.c
560562 src/detection/theme/theme_nosupport.c
563+ src/detection/tpm/tpm_nosupport.c
561564 src/detection/uptime/uptime_linux.c
562565 src/detection/users/users_linux.c
563566 src/detection/wallpaper/wallpaper_nosupport.c
@@ -638,6 +641,7 @@ elseif(FreeBSD)
638641 src/detection/terminalshell/terminalshell_linux.c
639642 src/detection/terminalsize/terminalsize_linux.c
640643 src/detection/theme/theme_linux.c
644+ src/detection/tpm/tpm_nosupport.c
641645 src/detection/uptime/uptime_bsd.c
642646 src/detection/users/users_linux.c
643647 src/detection/wallpaper/wallpaper_linux.c
@@ -703,6 +707,7 @@ elseif(APPLE)
703707 src/detection/terminalshell/terminalshell_linux.c
704708 src/detection/terminalsize/terminalsize_linux.c
705709 src/detection/theme/theme_nosupport.c
710+ src/detection/tpm/tpm_nosupport.c
706711 src/detection/uptime/uptime_bsd.c
707712 src/detection/users/users_linux.c
708713 src/detection/wallpaper/wallpaper_apple.m
@@ -770,6 +775,7 @@ elseif(WIN32)
770775 src/detection/terminalshell/terminalshell_windows.c
771776 src/detection/terminalsize/terminalsize_windows.c
772777 src/detection/theme/theme_nosupport.c
778+ src/detection/tpm/tpm_windows.c
773779 src/detection/uptime/uptime_windows.c
774780 src/detection/users/users_windows.c
775781 src/detection/wallpaper/wallpaper_windows.c
@@ -854,6 +860,7 @@ elseif(SunOS)
854860 src/detection/terminalshell/terminalshell_linux.c
855861 src/detection/terminalsize/terminalsize_linux.c
856862 src/detection/theme/theme_linux.c
863+ src/detection/tpm/tpm_nosupport.c
857864 src/detection/uptime/uptime_sunos.c
858865 src/detection/users/users_linux.c
859866 src/detection/wallpaper/wallpaper_linux.c
@@ -1179,7 +1186,7 @@ elseif(APPLE)
11791186 PRIVATE "-weak_framework Apple80211"
11801187 )
11811188elseif (WIN32 )
1182- target_compile_definitions (libfastfetch PRIVATE -D_WIN32_WINNT=0x0601 )
1189+ target_compile_definitions (libfastfetch PRIVATE -D_WIN32_WINNT=0x0A00 )
11831190 target_link_libraries (libfastfetch
11841191 PRIVATE "dwmapi"
11851192 PRIVATE "gdi32"
0 commit comments