[x265] cmake: fix

Steve Borho steve at borho.org
Sat Feb 1 21:49:08 CET 2014


On Sat, Feb 1, 2014 at 1:16 AM, Satoshi Nakagawa <nakagawa424 at oki.com>wrote:

> # HG changeset patch
> # User Satoshi Nakagawa <nakagawa424 at oki.com>
> # Date 1391238866 -32400
> #      Sat Feb 01 16:14:26 2014 +0900
> # Node ID b2e76dbb1ec80f633c3f4197442acb40fa7b0385
> # Parent  413ad959a5c6a397eea5399c0719d14e439933a5
> cmake: fix
>
> diff -r 413ad959a5c6 -r b2e76dbb1ec8 source/CMakeLists.txt
> --- a/source/CMakeLists.txt     Fri Jan 31 16:53:36 2014 -0600
> +++ b/source/CMakeLists.txt     Sat Feb 01 16:14:26 2014 +0900
> @@ -30,6 +30,13 @@
>      endif()
>  endif()
>
> +if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "amd64" OR
> ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
>

Thanks Satoshi, I've pushed a similar fix.


> +    set(X86 1)
> +    add_definitions(-DX265_ARCH_X86=1)
> +    set(X64 1)
> +    add_definitions(-DX86_64=1)
> +endif()
> +
>  if(CMAKE_GENERATOR STREQUAL "Xcode")
>    set(XCODE 1)
>  endif()
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>



-- 
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20140201/611b67cc/attachment.html>


More information about the x265-devel mailing list