Modernize CMakeLists, automatically update submodules

CMake will now find packages in a modern way (include(Find*)), and will
also ensure that submodules are updated, unless told otherwise.

Also removed some apple-specific workarounds, we will need to look at
that again.
This commit is contained in:
Lion Kortlepel
2022-03-30 12:14:13 +02:00
parent b2f27c21be
commit d86efabb1a
2 changed files with 62 additions and 78 deletions

View File

@@ -148,6 +148,10 @@ void RegisterThread(const std::string& str);
#define _function_name std::string(__func__)
#endif
#ifndef NDEBUG
#define DEBUG
#endif
#if defined(DEBUG)
// if this is defined, we will show the full function signature infront of