mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
replace libpng with libspng
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user