diff --git a/CMakeLists.txt b/CMakeLists.txt index 89899151..8e5bf75b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -416,6 +416,7 @@ if(WEBP_ENABLE_FBOUNDS_SAFETY) # Enable -fbounds-safety only for webputils for now. add_definitions(-DWEBP_SUPPORT_FBOUNDS_SAFETY=1) target_compile_options(webputils PRIVATE -fbounds-safety) + target_compile_options(webputilsdecode PRIVATE -fbounds-safety) endif() target_link_libraries(webp sharpyuv)