aboutsummaryrefslogtreecommitdiff
path: root/multimedia/x265/6d55869ed5e2.patch
blob: 868440f5414886181a801c31572b83f2fb232c7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# HG changeset patch
# User Steve Borho <steve@borho.org>
# Date 1394041694 21600
# Node ID 6d55869ed5e29c97977b89aa0218a5c8510c671a
# Parent  c40c379f283cbe458e1c9330521dfa2ad1d0aa92
cmake: add i686 to x86 alias list (closes #33)

diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -30,7 +30,7 @@
 string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" SYSPROC)
 if("${SYSPROC}" STREQUAL "i386"   OR "${SYSPROC}" STREQUAL "amd64" OR
    "${SYSPROC}" STREQUAL "x86_64" OR "${SYSPROC}" STREQUAL "x86"   OR
-   "${SYSPROC}" STREQUAL "")
+   "${SYSPROC}" STREQUAL "i686"   OR "${SYSPROC}" STREQUAL "")
     message(STATUS "Detected x86 system processor")
     set(X86 1)
     add_definitions(-DX265_ARCH_X86=1)