mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
cmake: Don't add GCC flag to MSVC in libpng
This commit is contained in:
4
Externals/libpng/CMakeLists.txt
vendored
4
Externals/libpng/CMakeLists.txt
vendored
@ -18,5 +18,7 @@ set(SRCS
|
||||
pngwtran.c
|
||||
pngwutil.c
|
||||
)
|
||||
add_definitions(-Wno-self-assign)
|
||||
if(NOT MSVC)
|
||||
add_definitions(-Wno-self-assign)
|
||||
endif()
|
||||
add_library(png STATIC ${SRCS})
|
||||
|
Reference in New Issue
Block a user