Make zlib workaround for #107 apply everywhere

I missed zlib in #150.
This commit is contained in:
Arthur Eubanks
2024-04-20 15:51:59 -07:00
committed by teejusb
parent 99e3d10775
commit adace28e57
+5 -7
View File
@@ -32,13 +32,11 @@ add_library("zlib" STATIC ${ZLIB_SRC} ${ZLIB_HPP})
set_property(TARGET "zlib" PROPERTY FOLDER "External Libraries")
if(APPLE)
# Fixes build failures due to warnings on macOS >= 13.3
# See itgmania/itgmania#107 for details
# TODO(teejusb/natano): Remove these two lines once these issues have been fixed upstream.
set_property(TARGET "zlib" PROPERTY C_STANDARD 90)
set_property(TARGET "zlib" PROPERTY C_STANDARD_REQUIRED ON)
endif(APPLE)
# Fixes clang build failures
# See itgmania/itgmania#107 for details
# TODO(teejusb/natano): Remove these two lines once these issues have been fixed upstream.
set_property(TARGET "zlib" PROPERTY C_STANDARD 90)
set_property(TARGET "zlib" PROPERTY C_STANDARD_REQUIRED ON)
disable_project_warnings("zlib")