Skip to content

Commit

Permalink
Update magic-enum dep (#25)
Browse files Browse the repository at this point in the history
* Update magic-enum dep

* Use Version 0.9.3 wrap
  • Loading branch information
talisein authored Oct 31, 2023
1 parent 874bf64 commit 17d07c9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
3 changes: 2 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ ctre_dep = dependency('ctre',
fallback: ['ctre'])

magic_enum_dep = dependency('magic_enum',
fallback: ['magic_enum'])
version: '>=0.9.3',
fallback: ['magic_enum'])

subdir('src')
subdir('test')
3 changes: 2 additions & 1 deletion src/volumes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#include <map>
#include <cassert>
#include "outcome/result.hpp"
#include "magic_enum.hpp"
#include <magic_enum.hpp>
#include <magic_enum_iostream.hpp>
#include "volumes.h"
#include "log.h"
#include "utils.h"
Expand Down
12 changes: 6 additions & 6 deletions subprojects/magic_enum.wrap
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[wrap-file]
directory = magic_enum-0.8.2
source_url = https://github.com/Neargye/magic_enum/archive/refs/tags/v0.8.2.tar.gz
source_filename = magic_enum-v0.8.2.tar.gz
source_hash = 62bd7034bbbfc3d7806001767d5775ab42f3ff33bb38366e1ceb21102f0dff9a
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/magic_enum_0.8.2-1/magic_enum-v0.8.2.tar.gz
wrapdb_version = 0.8.2-1
directory = magic_enum-0.9.3
source_url = https://github.com/Neargye/magic_enum/archive/refs/tags/v0.9.3.tar.gz
source_filename = magic_enum-v0.9.3.tar.gz
source_hash = 3cadd6a05f1bffc5141e5e731c46b2b73c2dbff025e723c8abaa659e0a24f072
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/magic_enum_0.9.3-1/magic_enum-v0.9.3.tar.gz
wrapdb_version = 0.9.3-1

[provide]
magic_enum = magic_enum_dep
5 changes: 3 additions & 2 deletions test/volumes.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#include <optional>
#include <boost/ut.hpp>
#include <magic_enum.hpp>
#include <magic_enum_utility.hpp>
#include "volumes.h"
#include "omnibus.h"
#include "omnibus_defs.h"
#include <boost/ut.hpp>
#include "magic_enum.hpp"

int main() {
using namespace boost::ut;
Expand Down

0 comments on commit 17d07c9

Please sign in to comment.