Skip to content

Commit

Permalink
(#5099) Fix for Boost build failure on Windows when not able to find …
Browse files Browse the repository at this point in the history
…MSVC toolset
  • Loading branch information
ivabrajer authored Apr 24, 2021
1 parent 4c258ca commit 301f6ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion recipes/boost/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,11 @@ def create_library_config(deps_name, name):

# Specify here the toolset with the binary if present if don't empty parameter :
contents += '\nusing "%s" : %s : ' % (self._toolset, self._toolset_version)
contents += ' %s' % self._cxx.replace("\\", "/")

if self._is_msvc:
contents += ' "%s"' % self._cxx.replace("\\", "/")
else:
contents += ' %s' % self._cxx.replace("\\", "/")

if tools.is_apple_os(self.settings.os):
if self.settings.compiler == "apple-clang":
Expand Down

0 comments on commit 301f6ef

Please sign in to comment.