Skip to content

Commit

Permalink
build: Depend on wlroots-0.18 when building against system wlroots
Browse files Browse the repository at this point in the history
  • Loading branch information
soreau committed Aug 26, 2024
1 parent 3f4ad42 commit bb0abfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ if get_option('use_system_wlroots').disabled()

elif get_option('use_system_wlroots').enabled()
use_system_wlroots = true
wlroots = dependency('wlroots', version: ['>=0.18.0', '<0.19.0'], required: true)
wlroots = dependency('wlroots-0.18', version: ['>=0.18.0', '<0.19.0'], required: true)

elif get_option('use_system_wlroots').auto()
message( 'SEARCHING FOR WLROOTS' )
wlroots = dependency('wlroots', version: ['>=0.18.0', '<0.19.0'], required: false)
wlroots = dependency('wlroots-0.18', version: ['>=0.18.0', '<0.19.0'], required: false)
use_system_wlroots = true
if not wlroots.found()
use_system_wlroots = false
Expand Down

0 comments on commit bb0abfe

Please sign in to comment.