cmake: Don't add GCC flag to MSVC in libpng
This commit is contained in:
Vendored
+3
-1
@@ -18,5 +18,7 @@ set(SRCS
|
|||||||
pngwtran.c
|
pngwtran.c
|
||||||
pngwutil.c
|
pngwutil.c
|
||||||
)
|
)
|
||||||
add_definitions(-Wno-self-assign)
|
if(NOT MSVC)
|
||||||
|
add_definitions(-Wno-self-assign)
|
||||||
|
endif()
|
||||||
add_library(png STATIC ${SRCS})
|
add_library(png STATIC ${SRCS})
|
||||||
|
|||||||
Reference in New Issue
Block a user