replace libpng with libspng

This commit is contained in:
Shawn Hoffman
2022-07-24 02:55:57 -07:00
parent a363e8147e
commit acb10f0006
51 changed files with 145 additions and 43998 deletions

View File

@ -64,8 +64,6 @@ add_library(common
HttpRequest.h
Image.cpp
Image.h
ImageC.c
ImageC.h
IniFile.cpp
IniFile.h
Inline.h
@ -148,7 +146,7 @@ PRIVATE
${CURL_LIBRARIES}
FatFs
${ICONV_LIBRARIES}
png
spng
${VTUNE_LIBRARIES}
)
@ -315,9 +313,4 @@ endif()
if(MSVC)
# Add precompiled header
target_link_libraries(common PRIVATE use_pch)
# We need to disable PCH for this one file, because it's C and our PCH is C++
set_source_files_properties(
${CMAKE_CURRENT_SOURCE_DIR}/ImageC.c
PROPERTIES COMPILE_FLAGS "/Y- /I${CMAKE_SOURCE_DIR}/Source/PCH/nopch")
endif()