diff options
Diffstat (limited to 'Source/UnitTests/UnitTestsMain.cpp')
| -rw-r--r-- | Source/UnitTests/UnitTestsMain.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/UnitTests/UnitTestsMain.cpp b/Source/UnitTests/UnitTestsMain.cpp index aa4df43f48..4eed0c6099 100644 --- a/Source/UnitTests/UnitTestsMain.cpp +++ b/Source/UnitTests/UnitTestsMain.cpp @@ -6,6 +6,7 @@ #include <fmt/format.h> #include "Common/MsgHandler.h" +#include "Core/Core.h" #include "gtest/gtest.h" @@ -24,6 +25,7 @@ int main(int argc, char** argv) { fmt::print(stderr, "Running main() from UnitTestsMain.cpp\n"); Common::RegisterMsgAlertHandler(TestMsgHandler); + Core::DeclareAsHostThread(); ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); |
