AddThreadsFlagsΒΆ
Global thread-library integration for DUNE modules.
If the CMake package find_package(Threads) succeeds, this
module:
HAVE_THREADSSets the config-header variable to reflect whether the thread library was found.
Threads::ThreadsLinks the imported thread library target globally via
link_libraries(). As a result, targets created afterwards in the current directory scope inherit the thread library automatically.