Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: linux seccure storage

Prateek Sunal4a09a516cb92
diff --git a/mobile/apps/auth/linux/CMakeLists.txt b/mobile/apps/auth/linux/CMakeLists.txt
index 0f0e0d13c6..f9f9eab9b6 100644
--- a/mobile/apps/auth/linux/CMakeLists.txt
+++ b/mobile/apps/auth/linux/CMakeLists.txt
@@ -44,12 +44,6 @@ function(APPLY_STANDARD_SETTINGS TARGET)
target_compile_options(${TARGET} PRIVATE -Wall -Werror)
# FIXME: workaround for tray_manager deprecation issue:
target_compile_options(${TARGET} PRIVATE -Wno-error=deprecated-declarations) # Allow deprecated warnings
- # FIXME: workaround for flutter_secure_storage_linux json.hpp literal operator issue:
- if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
- target_compile_options(${TARGET} PRIVATE -Wno-error=deprecated-literal-operator)
- elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
- target_compile_options(${TARGET} PRIVATE -Wno-deprecated-literal-operator)
- endif()
target_compile_options(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3>")
target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>")
endfunction()