1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00

fix installing via cmake (#374)

This commit is contained in:
Arni 2024-10-14 15:05:55 +00:00 committed by GitHub
parent 9675f2bc29
commit a72a0536c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 478 additions and 186 deletions

View file

@ -2,7 +2,7 @@ module;
#include <version>
#ifndef MAGIC_ENUM_USE_STD_MODULE
#include <magic_enum_all.hpp>
#include <magic_enum/magic_enum_all.hpp>
#endif
export module magic_enum;
@ -13,7 +13,7 @@ import std;
extern "C++" {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winclude-angled-in-module-purview"
#include <magic_enum_all.hpp>
#include <magic_enum/magic_enum_all.hpp>
#pragma clang diagnostic pop
}
#endif