diff --git a/plugin-dev/Source/Sentry/Sentry.Build.cs b/plugin-dev/Source/Sentry/Sentry.Build.cs index b15b922a..8fdcec01 100644 --- a/plugin-dev/Source/Sentry/Sentry.Build.cs +++ b/plugin-dev/Source/Sentry/Sentry.Build.cs @@ -146,7 +146,7 @@ public bool Load(ReadOnlyTargetRules target, ModuleRules rules) private bool Build(ReadOnlyTargetRules target, ModuleRules rules, string buildType) { string builtFile = Path.Combine(m_generatedTargetPath, buildType+".built"); - string projectCMakeLists=Path.GetFullPath(Path.Combine(m_cmakeTargetPath, "CMakeLists.txt")); + string projectCMakeLists=Path.GetFullPath(Path.Combine(m_targetPath, "CMakeLists.txt")); bool configCMake=true; @@ -335,7 +335,7 @@ private string CreateCMakeConfigCommand(ReadOnlyTargetRules target, ModuleRules var installPath = m_thirdPartyGeneratedPath; var arguments = " -G \""+GetGeneratorName(target)+"\""+ - " -S \""+m_cmakeTargetPath+"\""+ + " -S \""+m_targetLocation+"\""+ " -B \""+buildDirectory+"\""+ buildToolchain+ " -DCMAKE_BUILD_TYPE="+GetBuildType(target)+