From 2efcbd90d16c08d65549d9bbb5c950f50ca0f4de Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Mon, 9 Dec 2024 15:01:28 +0100 Subject: [PATCH] Move option APPLICATION_DISPLAY_LEGACY_IMPORT_DIALOG to CMakeLists.txt. Signed-off-by: Camila Ayres --- CMakeLists.txt | 2 ++ NEXTCLOUD.cmake | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 351b3eaa00c41..3c1d91f800855 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,6 +55,8 @@ else() set(APPLICATION_REV_DOMAIN_INSTALLER ${APPLICATION_REV_DOMAIN}) endif() +option( APPLICATION_DISPLAY_LEGACY_IMPORT_DIALOG "Display legacy import dialog" ON ) + # For usage in XML files we preprocess string(REPLACE "&" "&" APPLICATION_NAME_XML_ESCAPED "${APPLICATION_NAME}") string(REPLACE "<" "<" APPLICATION_NAME_XML_ESCAPED "${APPLICATION_NAME_XML_ESCAPED}") diff --git a/NEXTCLOUD.cmake b/NEXTCLOUD.cmake index 3cd8a49c09b41..e2632dbcfb6d6 100644 --- a/NEXTCLOUD.cmake +++ b/NEXTCLOUD.cmake @@ -28,7 +28,6 @@ set( APPLICATION_REV_DOMAIN "com.nextcloud.desktopclient" ) set( APPLICATION_VIRTUALFILE_SUFFIX "nextcloud" CACHE STRING "Virtual file suffix (not including the .)") set( APPLICATION_OCSP_STAPLING_ENABLED OFF ) set( APPLICATION_FORBID_BAD_SSL OFF ) -option( APPLICATION_DISPLAY_LEGACY_IMPORT_DIALOG "Display legacy import dialog" ON ) set( LINUX_PACKAGE_SHORTNAME "nextcloud" ) set( LINUX_APPLICATION_ID "${APPLICATION_REV_DOMAIN}.${LINUX_PACKAGE_SHORTNAME}")