File: threading_std.cmake

package info (click to toggle)
libnest2d 5.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,016 kB
  • sloc: cpp: 12,037; python: 73; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
find_package(Threads REQUIRED)

add_library(stdThreading INTERFACE)
target_link_libraries(stdThreading INTERFACE Threads::Threads)

install(TARGETS stdThreading EXPORT Libnest2DTargets INCLUDES DESTINATION include)
set(LIBNEST2D_PUBLIC_PACKAGES "${LIBNEST2D_PUBLIC_PACKAGES};Threads" CACHE INTERNAL "")