From 106a4a2ef4e677f4fcb4e7ccfa87c2604f74993c Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Mon, 15 Apr 2024 22:08:29 +0100 Subject: [PATCH] Fix compile errors on Clang 18 --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 58759df08..8bda0be14 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -117,7 +117,7 @@ else() if (NOT CMAKE_BUILD_TYPE STREQUAL Debug) # _FORTIFY_SOURCE can't be used without optimizations. - add_compile_options(-Wp,-D_FORTIFY_SOURCE=2) + add_compile_options(-D_FORTIFY_SOURCE=2) endif() if (CITRA_WARNINGS_AS_ERRORS)