meson.build

changeset 41921
24e5305ebcb6
parent 41913
8bdccbde0536
child 42010
3820d0d16092
--- a/meson.build	Wed Nov 16 23:43:30 2022 -0600
+++ b/meson.build	Wed Nov 16 23:44:59 2022 -0600
@@ -274,22 +274,11 @@
 # Check for libsoup (required)
 #######################################################################
 
-libsoup = disabler()
-if not get_option('soup2')
-	libsoup = dependency('libsoup-3.0', version : '>= 3')
-	add_project_arguments(
-		'-DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_3_0',
-		'-DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_3_0',
-		language : 'c')
-	soup_api_version = '3.0'
-else
-	libsoup = dependency('libsoup-2.4', version : '>= 2.42')
-	add_project_arguments(
-		'-DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_2_42',
-		'-DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_2_42',
-		language : 'c')
-	soup_api_version = '2.4'
-endif
+libsoup = dependency('libsoup-3.0', version : '>= 3')
+add_project_arguments(
+	'-DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_3_0',
+	'-DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_3_0',
+	language : 'c')
 
 #######################################################################
 # Check for sqlite3 (required)

mercurial