Skip to content

Commit

Permalink
spng: define SPNG_STATIC when compiling spng itself
Browse files Browse the repository at this point in the history
Previously was only defined for things including it.
Not really a bug, but it was leaking symbols into exports.
  • Loading branch information
shuffle2 committed Sep 11, 2022
1 parent 4edb3a8 commit 9ab0902
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Externals/libspng/spng.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>libspng\spng;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>SPNG_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
Expand Down

0 comments on commit 9ab0902

Please sign in to comment.