aboutsummaryrefslogtreecommitdiff
path: root/main/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'main/CMakeLists.txt')
-rw-r--r--main/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index c133a399..de5f2667 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -111,6 +111,9 @@ set(MAIN_DEFINITIONS)
if(GTK4_VERSION VERSION_GREATER_EQUAL "4.6")
set(MAIN_DEFINITIONS ${MAIN_DEFINITIONS} GTK_4_6)
endif()
+if(Adwaita_VERSION VERSION_GREATER_EQUAL "1.2")
+ set(MAIN_DEFINITIONS ${MAIN_DEFINITIONS} Adw_1_2)
+endif()
vala_precompile(MAIN_VALA_C
SOURCES