Move option APPLICATION_DISPLAY_LEGACY_IMPORT_DIALOG to CMakeLists.txt.
authorCamila Ayres <hello@camilasan.com>
Mon, 9 Dec 2024 14:01:28 +0000 (15:01 +0100)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 9 Dec 2024 17:36:27 +0000 (18:36 +0100)
Signed-off-by: Camila Ayres <hello@camilasan.com>
CMakeLists.txt
NEXTCLOUD.cmake

index 351b3eaa00c41b31bdb54aa7dc50f59ac2b4e23f..3c1d91f800855fc9349221cace85fe68e664a488 100644 (file)
@@ -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 "&" "&amp;" APPLICATION_NAME_XML_ESCAPED "${APPLICATION_NAME}")
 string(REPLACE "<" "&lt;" APPLICATION_NAME_XML_ESCAPED "${APPLICATION_NAME_XML_ESCAPED}")
index 3cd8a49c09b41ef7b497839c5113ccf0a691584b..e2632dbcfb6d67caf1692d11e576f9b82058c190 100644 (file)
@@ -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}")