Workaround for C++ STD not being set on MSVC/Visual Studio 2017 (#304)

This commit is contained in:
Joshua Ashton 2018-04-19 10:47:17 +01:00 committed by Philip Rebohle
parent 8eb78591a0
commit cfd3723221
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@ else
dxvk_cpp_std='c++1z'
endif
if dxvk_compiler.get_id() == 'msvc'
add_global_arguments('/std:' + dxvk_cpp_std, language : 'cpp')
endif
dxvk_include_path = include_directories('./include')
if (cpu_family == 'x86_64')