clang 5.0.2 not auto-adding -pthread during link?

René J. V. Bertin rjvbertin at gmail.com
Thu Jun 21 19:37:26 UTC 2018


René J.V. Bertin wrote:

> CMake tweak:
> if(UNIX AND NOT APPLE)
>     if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
>         target_link_libraries(kdevastyle "-pthread")
>     endif()
> endif()

Full list where this is required:

astyle, subversion, debuggercommon plugins

R.



More information about the KDevelop-devel mailing list