]> sigrok.org Git - pulseview.git/commitdiff
buildsystem: Link against the platform's thread library
authorAlexandru Gagniuc <redacted>
Tue, 15 Jan 2013 22:09:57 +0000 (16:09 -0600)
committerUwe Hermann <redacted>
Thu, 24 Jan 2013 21:50:43 +0000 (22:50 +0100)
At least on Linux, boost-thread depends on pthread. The linking is not
automatic, and users have had issues with this.

We need to link against the platform's thread library, as it is needed for
boost-thread. CMake takes care of getting the exact settings to be passed
to the linker for us with ${CMAKE_THREAD_LIBS_INIT}.

This fixes bug #42.

Signed-off-by: Alexandru Gagniuc <redacted>

No differences found