From 60818222e4b6919f1d808a9951e1f420c0c1188e Mon Sep 17 00:00:00 2001 From: comex Date: Sun, 8 Dec 2013 15:43:23 -0500 Subject: [PATCH] Disable a certain clang warning for libpng. --- Externals/libpng/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Externals/libpng/CMakeLists.txt b/Externals/libpng/CMakeLists.txt index b30749ee86..122007c7c5 100644 --- a/Externals/libpng/CMakeLists.txt +++ b/Externals/libpng/CMakeLists.txt @@ -18,4 +18,5 @@ set(SRCS pngwtran.c pngwutil.c ) +add_definitions(-Wno-self-assign) add_library(png STATIC ${SRCS})