Skip to content

Commit

Permalink
Added repository commit instead of folder and BUILD_VOICE_SUPPORT by …
Browse files Browse the repository at this point in the history
…default
  • Loading branch information
MikeRavenelle committed Jan 21, 2024
1 parent d5dd3f6 commit a5aa313
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conan/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ def layout(self):

def export(self):
git = Git(self, self.recipe_folder)
scm_url, scm_commit = git.get_url_and_commit()
scm_url = git.get_remote_url()
scm_commit = git.get_commit(repository=True)
update_conandata(self, {"sources": {"commit": scm_commit, "url": scm_url}})

def source(self):
Expand All @@ -50,6 +51,7 @@ def generate(self):
deps.generate()
tc = CMakeToolchain(self)
tc.cache_variables["CONAN_EXPORTED"] = True
tc.cache_variables["BUILD_VOICE_SUPPORT"] = True
tc.generate()

def build(self):
Expand Down

0 comments on commit a5aa313

Please sign in to comment.