<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Feb 1, 2014 at 1:16 AM, Satoshi Nakagawa <span dir="ltr"><<a href="mailto:nakagawa424@oki.com" target="_blank">nakagawa424@oki.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Satoshi Nakagawa <<a href="mailto:nakagawa424@oki.com">nakagawa424@oki.com</a>><br>
# Date 1391238866 -32400<br>
# Sat Feb 01 16:14:26 2014 +0900<br>
# Node ID b2e76dbb1ec80f633c3f4197442acb40fa7b0385<br>
# Parent 413ad959a5c6a397eea5399c0719d14e439933a5<br>
cmake: fix<br>
<br>
diff -r 413ad959a5c6 -r b2e76dbb1ec8 source/CMakeLists.txt<br>
--- a/source/CMakeLists.txt Fri Jan 31 16:53:36 2014 -0600<br>
+++ b/source/CMakeLists.txt Sat Feb 01 16:14:26 2014 +0900<br>
@@ -30,6 +30,13 @@<br>
endif()<br>
endif()<br>
<br>
+if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "amd64" OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")<br></blockquote><div><br></div><div>Thanks Satoshi, I've pushed a similar fix.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+ set(X86 1)<br>
+ add_definitions(-DX265_ARCH_X86=1)<br>
+ set(X64 1)<br>
+ add_definitions(-DX86_64=1)<br>
+endif()<br>
+<br>
if(CMAKE_GENERATOR STREQUAL "Xcode")<br>
set(XCODE 1)<br>
endif()<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Steve Borho
</div></div>