Skip to content

Commit

Permalink
depends on tinycthread as a library not source.
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyhuo committed Apr 15, 2023
1 parent 57ebec7 commit 15a3484
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/tinycthreadpool/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sources:
"1.0":
url: "https://github.com/bennyhuo/tinycthreadpool/archive/refs/tags/1.0.tar.gz"
sha256: "2a144e883251dc63179990e671b5a9ce3ebaf42186471baee00ecad322dd2fd9"
url: "https://github.com/bennyhuo/tinycthreadpool/archive/refs/tags/v1.0.tar.gz"
sha256: "a3e9876d3e3008cffed96216d026504b57ab6be6ee3df62d5916fecd4106ede5"
3 changes: 3 additions & 0 deletions recipes/tinycthreadpool/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def source(self):
def layout(self):
cmake_layout(self, src_folder="src")

def requirements(self):
self.requires("tinycthread/cci.20161001", transitive_headers=True)

def generate(self):
tc = CMakeToolchain(self)
if is_msvc(self):
Expand Down

0 comments on commit 15a3484

Please sign in to comment.