mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-22 18:53:52 +08:00
Fixed build issues on macOS (#22075)
* Fixed deprecated enum value * Changed to build Qt replay on macOS
This commit is contained in:
@@ -104,7 +104,7 @@ if GetOption('setup'):
|
||||
|
||||
|
||||
# build headless replay
|
||||
if arch == 'x86_64' and os.path.exists(Dir("#tools/").get_abspath()):
|
||||
if arch in ['x86_64', 'Darwin'] and os.path.exists(Dir("#tools/").get_abspath()):
|
||||
qt_env['CXXFLAGS'] += ["-Wno-deprecated-declarations"]
|
||||
|
||||
replay_lib_src = ["replay/replay.cc", "replay/filereader.cc", "replay/framereader.cc"]
|
||||
|
||||
Reference in New Issue
Block a user