Skip to content

Commit

Permalink
pkgconfig: Use Libs.private for "-pthread" flag. (#22)
Browse files Browse the repository at this point in the history
* pkgconfig: Use Libs.private for "-pthread" flag.

Fixes #21.

* Update cmake/Templates/ptl.pc.in

* Bump version to 2.2.1

Co-authored-by: Jonathan R. Madsen <[email protected]>
  • Loading branch information
badshah400 and jrmadsen authored Dec 3, 2021
1 parent 86054aa commit c898062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.0
2.2.1
2 changes: 1 addition & 1 deletion cmake/Templates/ptl.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Name: PTL
Description: Parallel Tasking Library for C++
Version: @PTL_VERSION_STRING@
Requires: @PTL_PC_TBB_REQUIREMENT@
Requires.private: -pthread
Libs: -L${libdir} -lptl
Libs.private: -pthread
CFlags: -std=c++@CMAKE_CXX_STANDARD@ -pthread -I${includedir}

0 comments on commit c898062

Please sign in to comment.