Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit af89835

Browse files
Merge pull request #821 from github-for-unity/fixes/fix-build
Fix typo in setting build properties
2 parents 0043802 + f188558 commit af89835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/properties.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<!-- Build flags -->
44
<PropertyGroup>
55
<BuildType Condition="Exists('$(SolutionDir)script\src\MetricsService.cs')">Internal</BuildType>
6-
<BuildDefs Condition="Exists('$(SolutionDir)script\src\MetricsService.cs')">ENABLE_METRICS</BuildDefs>
7-
<BuildDefs>ENABLE_MONO</BuildDefs>
6+
<BuildDefs Condition="$(Buildtype) == 'Internal'">ENABLE_METRICS</BuildDefs>
7+
<BuildDefs>$(BuildDefs);ENABLE_MONO</BuildDefs>
88

99
<UnityDir Condition="$(UnityDir) == '' and Exists('$(SolutionDir)\script\lib\Managed\UnityEditor.dll')">$(SolutionDir)script\lib\</UnityDir>
1010
<UnityDir Condition="$(UnityDir) == '' and Exists('$(SolutionDir)\lib\Managed\UnityEditor.dll')">$(SolutionDir)lib\</UnityDir>

0 commit comments

Comments
 (0)