Make zlib workaround for #107 apply everywhere

I missed zlib in #150.
This commit is contained in:
Arthur Eubanks
2024-04-20 19:38:19 -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") set_property(TARGET "zlib" PROPERTY FOLDER "External Libraries")
if(APPLE) # Fixes clang build failures
# Fixes build failures due to warnings on macOS >= 13.3 # See itgmania/itgmania#107 for details
# See itgmania/itgmania#107 for details # TODO(teejusb/natano): Remove these two lines once these issues have been fixed upstream.
# 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 90) set_property(TARGET "zlib" PROPERTY C_STANDARD_REQUIRED ON)
set_property(TARGET "zlib" PROPERTY C_STANDARD_REQUIRED ON)
endif(APPLE)
disable_project_warnings("zlib") disable_project_warnings("zlib")