π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: secure storage compile issue on linux
Prateek Sunal4dda1e2207a3
diff --git a/mobile/apps/auth/linux/CMakeLists.txt b/mobile/apps/auth/linux/CMakeLists.txtindex 0a353c39e1..0f0e0d13c6 100644--- a/mobile/apps/auth/linux/CMakeLists.txt+++ b/mobile/apps/auth/linux/CMakeLists.txt@@ -45,7 +45,11 @@ function(APPLY_STANDARD_SETTINGS TARGET)# 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:- target_compile_options(${TARGET} PRIVATE -Wno-error=deprecated-literal-operator)+ 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()