summaryrefslogtreecommitdiff
path: root/external/zlib
diff options
context:
space:
mode:
authorPyry Haulos <phaulos@google.com>2016-08-10 10:16:57 -0700
committerPyry Haulos <phaulos@google.com>2016-08-10 10:16:57 -0700
commita01e65c13e2b0863fdee2fc8cda61a90b9b5b2f6 (patch)
tree8ffdaf74eec92ad909db22c08b825186ba8b8be8 /external/zlib
parent98faf68f0190ca7c1b4a8b0e15326939faf96ba3 (diff)
downloadVK-GL-CTS-a01e65c13e2b0863fdee2fc8cda61a90b9b5b2f6.tar.gz
VK-GL-CTS-a01e65c13e2b0863fdee2fc8cda61a90b9b5b2f6.tar.bz2
VK-GL-CTS-a01e65c13e2b0863fdee2fc8cda61a90b9b5b2f6.zip
Use 3rd party cflags in zlib
zlib doesn't build cleanly with default warning flags. Change-Id: Ie20c7920a5468d07e2b63fb3a78260f87b330195
Diffstat (limited to 'external/zlib')
-rw-r--r--external/zlib/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/external/zlib/CMakeLists.txt b/external/zlib/CMakeLists.txt
index 26de7ab64..f59e02379 100644
--- a/external/zlib/CMakeLists.txt
+++ b/external/zlib/CMakeLists.txt
@@ -64,6 +64,8 @@ if (DE_OS_IS_UNIX)
add_definitions(-D_XOPEN_SOURCE=600)
endif ()
+set(CMAKE_C_FLAGS ${DE_3RD_PARTY_C_FLAGS})
+
add_library(z STATIC ${ZLIB_SRCS})
set(ZLIB_INCLUDE_PATH ${ZLIB_ABS_PATH} PARENT_SCOPE)