Index: source/libvpx/build/make/gen_msvs_vcxproj.sh |
=================================================================== |
--- source/libvpx/build/make/gen_msvs_vcxproj.sh (revision 251189) |
+++ source/libvpx/build/make/gen_msvs_vcxproj.sh (working copy) |
@@ -174,6 +174,10 @@ |
Include=".\\$f" |
# Separate file names with Condition? |
tag_content ObjectFileName "\$(IntDir)$objf" |
+ # Check for AVX and turn it on to avoid warnings. |
+ if [[ $f =~ avx.?\.c$ ]]; then |
+ tag_content AdditionalOptions "/arch:AVX" |
+ fi |
close_tag ClCompile |
elif [ "$pat" == "h" ] ; then |
tag ClInclude \ |