News for hackers. Stuff that matters.
Re:An Introduction to Modern CMake by einpoklum on Sunday March 15, 2020 @09:34AM (#22583396)
Why would I want to use Meson over CMake? Why would I regret using CMake?

I had a look at the Meson FAQ and it says:

> What is the correct way to use threads (such as pthreads)? > > thread_dep = dependency('threads') > > People coming from Autotools or CMake want to do this by looking for libpthread.so manually.

... which is false. We do:

> find_package(Threads REQUIRED) > target_link_library(my_app Threads::Threads)

and Bob's your uncle.

There are no comments on this comment yet.