Skip to content

Commit

Permalink
Fixed hidden handling for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wsobel committed Jun 24, 2022
1 parent 7127393 commit 2bf91cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class CppAgentConan(ConanFile):
"boost:shared": False,
"boost:without_python": True,
"boost:without_test": True,
"boost:extra_b2_flags": "visibility=hidden",

"libxml2:shared": False,
"libxml2:include_utils": False,
Expand Down Expand Up @@ -71,6 +70,9 @@ def configure(self):
if not self.options.without_python:
self.options.with_python = True

if self.settings.os == "Macos":
self.options["boost"].visibility = "hidden"

# if self.windows_xp:
# self.options["boost"].extra_b2_flags = self.options["boost"].extra_b2_flags + "define=BOOST_USE_WINAPI_VERSION=0x0501 "
# elif self.settings.os == 'Windows':
Expand Down

0 comments on commit 2bf91cc

Please sign in to comment.