<p dir="ltr">Hi,</p>
<p dir="ltr">Am 16.08.2015 10:00 nachm. schrieb "Jérôme Duval" <<a href="mailto:jerome.duval%2Bx265@gmail.com">jerome.duval+x265@gmail.com</a>>:<br>
><br>
> 2015-08-12 9:30 GMT+02:00 Steve Borho <<a href="mailto:steve@borho.org">steve@borho.org</a>>:<br>
> >> Here is a description of the changes:<br>
> >> 1st: Haiku has no pthread library, we need to check for a threading library.<br>
> >> 2nd: Haiku doesn't install headers in include, we add an option to<br>
> >> define such a place, defaulting to include.<br>
> >> 3rd: Haiku has no nice() function, we use the platform specific call.<br>
> >><br>
> >> The patch is rebased against today's HG trunk and should apply cleanly.<br>
> ><br>
> > Haiku is <a href="https://www.haiku-os.org">https://www.haiku-os.org</a>?<br>
><br>
> Yes, this is the one.<br>
><br>
> ><br>
> >> From b2a16767983618709903e175f6f3d94a36e35832 Mon Sep 17 00:00:00 2001<br>
> >> From: Timothy Gu <<a href="mailto:timothygu99@gmail.com">timothygu99@gmail.com</a>><br>
> >> Date: Sun, 28 Dec 2014 07:11:55 +0000<br>
> >> Subject: Check if threading library needs to be linked separately<br>
> >><br>
> >><br>
> >> diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt<br>
> >> index 353003e..6fd2cbe 100644<br>
> >> --- a/source/CMakeLists.txt<br>
> >> +++ b/source/CMakeLists.txt<br>
> >> @@ -66,7 +66,8 @@ else()<br>
> >> endif()<br>
> >><br>
> >> if(UNIX)<br>
> >> - list(APPEND PLATFORM_LIBS pthread)<br>
> >> + find_package(Threads)<br>
> >> + list(APPEND PLATFORM_LIBS ${CMAKE_THREAD_LIBS_INIT})<br>
> ><br>
> > Nice. I checked and this package pre-dates our earliest supported cmake<br>
> > version (2.8.8) so it is ok to use. The rest looks ok.<br>
></p>
<p dir="ltr">I checked and can't find this patch in release 1.8. Anything I can do to have it committed?</p>
<p dir="ltr">Bye,<br>
Jérome<br>
</p>