Skip to content

Commit

Permalink
Update conanfile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneder89 committed Jan 16, 2023
1 parent 432995f commit ee17ada
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions recipes/doxygen/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def requirements(self):
self.requires("zlib/1.2.13")

def build_requirements(self):
if self.settings.os == "Windows":
if self.settings_build.os == "Windows":
self.tool_requires("winflexbison/2.5.24")
else:
self.tool_requires("flex/2.6.4")
Expand Down Expand Up @@ -85,9 +85,6 @@ def generate(self):
tc.generate()

deps = CMakeDeps(self)
# if self.settings.os != "Windows":
# deps.set_property("flex", "cmake_find_mode", "none", build_context=True)
# deps.set_property("bison", "cmake_find_mode", "none", build_context=True)
deps.generate()

def build(self):
Expand Down

0 comments on commit ee17ada

Please sign in to comment.