summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2022-05-30 12:39:04 +0200
committerGitHub <[email protected]>2022-05-30 12:39:04 +0200
commitdf6f9891aeac3d918e1d18550e4465268bc4da55 (patch)
tree99d54d21e7b6c6237254398211b922e7bf8ebab6
parent84b9cec88fb56eba8c143ee6728caa6654f56df0 (diff)
vsxmake: Move include directories to AdditionalIncludeDirectories (fixes #2392)
-rw-r--r--xmake/plugins/project/vsxmake/vsproj/Xmake.props2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vsxmake/vsproj/Xmake.props b/xmake/plugins/project/vsxmake/vsproj/Xmake.props
index ba13741a4..a7faaa1ad 100644
--- a/xmake/plugins/project/vsxmake/vsproj/Xmake.props
+++ b/xmake/plugins/project/vsxmake/vsproj/Xmake.props
@@ -99,6 +99,7 @@
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);$(XmakeDefines)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>$(XmakeIncludeDirs)</AdditionalIncludeDirectories>
<LanguageStandard Condition="'%(LanguageStandard)' == '' And $(XmakeLanguages.Contains('cxx11'))">stdcpp11</LanguageStandard>
<LanguageStandard Condition="'%(LanguageStandard)' == '' And $(XmakeLanguages.Contains('cxx14'))">stdcpp14</LanguageStandard>
<LanguageStandard Condition="'%(LanguageStandard)' == '' And $(XmakeLanguages.Contains('cxx17'))">stdcpp17</LanguageStandard>
@@ -148,7 +149,6 @@
</PropertyGroup>
<PropertyGroup Label="Path">
- <IncludePath>$(XmakeIncludeDirs);$(IncludePath)</IncludePath>
<LibraryPath>$(XmakeLinkDirs);$(LibraryPath)</LibraryPath>
<OutDir>$(XmakeTargetDir)\</OutDir>
<IntDir>$(XmakeBuilDir)\.vs\$(TargetName)\$(XmakeArch)\$(XmakeMode)\</IntDir>