diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/exception.cpp | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c994aacb..7af9439e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,6 +6,7 @@ target_link_libraries( Magnum::GL Magnum::Magnum Magnum::Shaders + fmt::fmt ) if(FLOORMAT_PRECOMPILED-HEADERS) target_precompile_headers(${self} PRIVATE precomp.hpp) diff --git a/src/exception.cpp b/src/exception.cpp new file mode 100644 index 00000000..4855e240 --- /dev/null +++ b/src/exception.cpp @@ -0,0 +1,7 @@ +#include "compat/exception.hpp" + +namespace floormat { + +const char* exception::what() const noexcept { return buf.data(); } + +} // namespace floormat |