Vendored
+5
-7
@@ -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")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user