about summary refs log tree commit diff
path: root/pkgs/desktops/deepin/core/dde-grand-search/patch-check-v23-interface.diff
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/deepin/core/dde-grand-search/patch-check-v23-interface.diff')
-rw-r--r--pkgs/desktops/deepin/core/dde-grand-search/patch-check-v23-interface.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/desktops/deepin/core/dde-grand-search/patch-check-v23-interface.diff b/pkgs/desktops/deepin/core/dde-grand-search/patch-check-v23-interface.diff
new file mode 100644
index 0000000000000..bcb9f2b6c0c2f
--- /dev/null
+++ b/pkgs/desktops/deepin/core/dde-grand-search/patch-check-v23-interface.diff
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 76dac13..f43600e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -24,7 +24,7 @@ endif()
+ 
+ #Indentify the version
+ find_package(DtkCMake REQUIRED)
+-if (${DEEPIN_OS_VERSION} MATCHES "23")
++if (${NIX_DEEPIN_VERSION} MATCHES "23")
+     add_definitions(-DCOMPILE_ON_V23)
+     set(COMPLIE_ON_V23 TRUE)
+     message("COMPILE ON v23")