From: Alexandru Gagniuc Date: Tue, 15 Jan 2013 22:09:57 +0000 (-0600) Subject: buildsystem: Link against the platform's thread library X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;ds=sidebyside;h=3933e8a901740de80133f15daf3d114867c08e0c;hp=3933e8a901740de80133f15daf3d114867c08e0c;p=pulseview.git buildsystem: Link against the platform's thread library 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 ---