Add support for Tracy profiler on Linux

This commit is contained in:
Wojtek Figat
2021-07-13 18:29:02 +02:00
parent caeeae6a32
commit dc935a1a32
2 changed files with 15 additions and 14 deletions

View File

@@ -32,6 +32,7 @@ public class Profiler : EngineModule
switch (options.Platform.Target)
{
case TargetPlatform.Android: // dlopen failed: cannot locate symbol `tracy::ScopedZone::~ScopedZone()` referenced by "libFlaxGame.so"
case TargetPlatform.Linux:
case TargetPlatform.Windows:
options.PublicDependencies.Add("tracy");
break;