Skip to content

Commit

Permalink
Merge branches 'workarounds' and 'bestsource' into feature
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1t3cht committed May 30, 2024
3 parents 0e44a34 + a067187 + e6da4e8 commit f7448a9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project('Aegisub', ['c', 'cpp'],
license: 'BSD-3-Clause',
meson_version: '>=1.0.0',
default_options: ['cpp_std=c++14', 'buildtype=debugoptimized'],
default_options: ['cpp_std=c++17', 'buildtype=debugoptimized'],
version: '3.2.2')

cmake = import('cmake')
Expand Down Expand Up @@ -145,6 +145,7 @@ else
endif

opt_var = cmake.subproject_options()
opt_var.set_override_option('cpp_std', 'c++14')
opt_var.add_cmake_defines({
'wxBUILD_INSTALL': false,
'wxBUILD_PRECOMP': 'OFF', # otherwise breaks project generation w/ meson
Expand Down
2 changes: 0 additions & 2 deletions src/bestsource_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

#ifdef WITH_BESTSOURCE

namespace std { class string_view; }

#include <bsshared.h>

#include <libaegisub/fs_fwd.h>
Expand Down
2 changes: 0 additions & 2 deletions src/video_provider_bestsource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
#ifdef WITH_BESTSOURCE
#include "include/aegisub/video_provider.h"

namespace std { class string_view; }

#include "bestsource_common.h"

#include "videosource.h"
Expand Down

0 comments on commit f7448a9

Please sign in to comment.