From 1a7dde848f42bfa309390c831f02c2b7cbb212ae Mon Sep 17 00:00:00 2001 From: FooIbar <118464521+FooIbar@users.noreply.github.com> Date: Sun, 14 Apr 2024 17:49:03 +0800 Subject: [PATCH] Don't treat warnings as errors on debug build --- app/src/main/cpp/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/cpp/CMakeLists.txt b/app/src/main/cpp/CMakeLists.txt index db5f94d11..46828f604 100644 --- a/app/src/main/cpp/CMakeLists.txt +++ b/app/src/main/cpp/CMakeLists.txt @@ -63,6 +63,7 @@ option(ENABLE_CPIO OFF) option(ENABLE_CAT OFF) option(ENABLE_UNZIP OFF) option(ENABLE_TEST OFF) +option(ENABLE_WERROR OFF) # Configure libarchive link's static lib SET(LIBARCHIVE_CUSTOM_LIBS "nettle" "liblzma")