CMake: Fix linking pthread of CMake < 3.1
As reported in #1624, Ubuntu 14.04 LTS still uses CMake 2.8.12 which does not support the Threads::Threads target (added in CMake 3.1). This could be reverted once the required CMake version is bumped to 3.1+.
Please register or sign in to comment