build: Enable -mfpmath=sse

This commit is contained in:
Joshua Ashton 2021-03-27 12:33:37 +00:00
parent f8c7e29d6f
commit dd2823287a
No known key found for this signature in database
GPG Key ID: C85A08669126BE8D
1 changed files with 3 additions and 0 deletions

View File

@ -74,6 +74,9 @@ if cpu_family == 'x86'
if dxvk_compiler.has_argument('-msse') and dxvk_compiler.has_argument('-msse2') and dxvk_compiler.has_argument('-msse3') and dxvk_compiler.has_argument('-mssse3')
add_project_arguments('-msse', '-msse2', '-msse3', '-mssse3', language: ['c', 'cpp'])
endif
if dxvk_compiler.has_argument('-mfpmath=sse')
add_project_arguments('-mfpmath=sse', language: ['c', 'cpp'])
endif
endif
lib_vulkan = dxvk_compiler.find_library('vulkan-1', dirs : dxvk_library_path)