summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/liblua/liblua.vcxproj6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/liblua/liblua.vcxproj b/libs/liblua/liblua.vcxproj
index f57ebb4492..e1951700b5 100644
--- a/libs/liblua/liblua.vcxproj
+++ b/libs/liblua/liblua.vcxproj
@@ -25,9 +25,11 @@
<ImportGroup Label="PropertySheets">
<Import Project="$(ProjectDir)..\..\build\vc.common\lib.props" />
</ImportGroup>
- <ItemDefinitionGroup>
+ <ItemDefinitionGroup>
<ClCompile>
- <PreprocessorDefinitions>LUA_BUILD_AS_DLL;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <ExceptionHandling>Sync</ExceptionHandling>
+ <PreprocessorDefinitions Condition="'$(Configuration)'=='Debug'">LUA_BUILD_AS_DLL;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions Condition="'$(Configuration)'=='Release'">LUA_BUILD_AS_DLL;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
</Project>