diff --git a/unified-runtime/cmake/helpers.cmake b/unified-runtime/cmake/helpers.cmake index a2d6a26cd35bd..95da58a0318f9 100644 --- a/unified-runtime/cmake/helpers.cmake +++ b/unified-runtime/cmake/helpers.cmake @@ -88,7 +88,7 @@ endif() function(add_ur_target_compile_options name) if(NOT MSVC) - target_compile_definitions(${name} PRIVATE -D_FORTIFY_SOURCE=2) + target_compile_definitions(${name} PRIVATE -D_FORTIFY_SOURCE=3) target_compile_options(${name} PRIVATE # Warning options -Wall