mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-13 05:31:44 +00:00
Rakefile: fix building mkvinfo with Qt disabled
This commit is contained in:
parent
f16df21b09
commit
5592b65d7c
2
Rakefile
2
Rakefile
@ -973,7 +973,7 @@ Application.new("src/mkvmerge").
|
||||
Application.new("src/mkvinfo").
|
||||
description("Build the mkvinfo executable").
|
||||
aliases(:mkvinfo).
|
||||
sources("src/info/mkvinfo.cpp").
|
||||
sources(FileList["src/info/*.cpp"].to_a.reject { |f| %r{/qt|mkvinfo-gui.cpp|sys_windows.cpp$}.match(f) }).
|
||||
sources("src/info/resources.o", :if => $building_for[:windows]).
|
||||
libraries($common_libs).
|
||||
only_if(c?(:USE_QT)).
|
||||
|
Loading…
Reference in New Issue
Block a user