Skip to content

Commit

Permalink
(#8526) boost-1.78 fix cmake auto configuration for windows
Browse files Browse the repository at this point in the history
* fix cmake auto configuration for windows

* fix

* fix
  • Loading branch information
pgeler authored Jan 24, 2022
1 parent 504908f commit 073927b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/boost/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ def _toolset_tag(self):
if self.settings.os == "Macos":
os_ = "darwin"
toolset_version = str(tools.Version(self.settings.compiler.version).major)
if self.settings.compiler in ("msvc", "Visual Studio"):
if str(self.settings.compiler) in ("msvc", "Visual Studio"):
toolset_version = self._toolset_version.replace(".", "")

toolset_parts = [compiler, os_]
Expand Down

0 comments on commit 073927b

Please sign in to comment.