Skip to content

Commit a3a042f

Browse files
committed
Global: remove stb_printf
Doesn't gain any performance boost
1 parent bc550a5 commit a3a042f

File tree

9 files changed

+0
-1991
lines changed

9 files changed

+0
-1991
lines changed

CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ cmake_dependent_option(ENABLE_LIBZFS "Enable libzfs" ON "LINUX OR FreeBSD OR Sun
8181
option(ENABLE_SYSTEM_YYJSON "Use system provided (instead of fastfetch embedded) yyjson library" OFF)
8282
option(ENABLE_ASAN "Build fastfetch with ASAN (address sanitizer)" OFF)
8383
option(ENABLE_LTO "Enable link-time optimization in release mode if supported" ON)
84-
option(ENABLE_STBPRINTF "Enable stb_printf" OFF)
8584
option(BUILD_TESTS "Build tests" OFF) # Also create test executables
8685
option(SET_TWEAK "Add tweak to project version" ON) # This is set to off by github actions for release builds
8786
option(IS_MUSL "Build with musl libc" OFF) # Used by Github Actions
@@ -1053,10 +1052,6 @@ elseif(SunOS)
10531052
)
10541053
endif()
10551054

1056-
if(ENABLE_STBPRINTF)
1057-
list(APPEND LIBFASTFETCH_SRC src/util/stb_printf.c)
1058-
endif()
1059-
10601055
if(ENABLE_DIRECTX_HEADERS)
10611056
message(STATUS "Enabling DirectX headers for WSL")
10621057
list(APPEND LIBFASTFETCH_SRC src/detection/gpu/gpu_wsl.cpp)
@@ -1097,10 +1092,6 @@ add_library(libfastfetch OBJECT
10971092
${LIBFASTFETCH_SRC}
10981093
)
10991094

1100-
if(ENABLE_STBPRINTF)
1101-
target_compile_definitions(libfastfetch PUBLIC FF_USE_STBPRINTF)
1102-
endif()
1103-
11041095
if(yyjson_FOUND)
11051096
target_compile_definitions(libfastfetch PUBLIC FF_USE_SYSTEM_YYJSON)
11061097
target_link_libraries(libfastfetch PUBLIC yyjson::yyjson)

src/3rdparty/stb/repo.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)