mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 03:54:17 +01:00
Fix compile errors on Clang 18
This commit is contained in:
parent
5f41a173fa
commit
106a4a2ef4
@ -117,7 +117,7 @@ else()
|
|||||||
|
|
||||||
if (NOT CMAKE_BUILD_TYPE STREQUAL Debug)
|
if (NOT CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||||
# _FORTIFY_SOURCE can't be used without optimizations.
|
# _FORTIFY_SOURCE can't be used without optimizations.
|
||||||
add_compile_options(-Wp,-D_FORTIFY_SOURCE=2)
|
add_compile_options(-D_FORTIFY_SOURCE=2)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CITRA_WARNINGS_AS_ERRORS)
|
if (CITRA_WARNINGS_AS_ERRORS)
|
||||||
|
Loading…
Reference in New Issue
Block a user