CMake: Fix build on ppc64

ppc64le was fixed before, but ppc64 (big-endian) was still failing.
This commit is contained in:
pkubaj
2020-01-03 11:29:32 +01:00
committed by jp9000
parent f0c540dc8c
commit 03ab727495
3 changed files with 3 additions and 3 deletions

View File

@@ -474,7 +474,7 @@ target_compile_definitions(libobs
PUBLIC
HAVE_OBSCONFIG_H)
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64le")
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64(le)?")
target_compile_options(libobs
PUBLIC
-mvsx)