> --- [email protected] wrote:

> From: Mario Rohkrämer <[email protected]>
> To: "Development for x265" <[email protected]>
> Subject: Re: [x265] [PATCH] restore WINXP_SUPPORT build option, workaround 
> for CONDITION_VARIABLE on XP
> Date: Sun, 30 Mar 2014 05:47:10 +0200

>> Am 30.03.2014, 03:18 Uhr, schrieb Steve Borho <[email protected]>:

>> Thanks for testing.  Since the gravity seems to lean towards XP, I'll
>> leave that as the default for MinGW builds

> But this seems to break compiling when WINXP_SUPPORT is not enabled (which  
> would be not useful for x86_64 Win64 cross compiles, but may not  
> necessarily be enabled either for x86 Win32 builds).

FWIW, the following modification in "source\CMakeLists.txt" seems to work for 
me:

«
if(X64)
####
    option(HIGH_BIT_DEPTH "Store pixels as 16bit values" OFF)
####
    if(MINGW)
       add_definitions(-D_WIN32_WINNT=_WIN32_WINNT_VISTA)
    endif(MINGW)
endif(X64)
»

&&&

«
if (WIN32)
   option(WINXP_SUPPORT "Make binaries compatible with Windows XP" OFF)
    if(WINXP_SUPPORT)
       add_definitions(-D_WIN32_WINNT=_WIN32_WINNT_WINXP)
     endif()
endif()
»

Hope this helps.

_____________________________________________________________
ps. Do you like my email address? Get yourself a coldmail.nu address too
http://www.coldmail.nu (it's free!)
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to