Skip to content

Commit

Permalink
(conan-io#15154) boost: handle spaces in path to C++ compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceIm authored and AbrilRBS committed Jan 16, 2023
1 parent 1aa6d77 commit 2e846ea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions recipes/boost/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1238,10 +1238,8 @@ def create_library_config(deps_name, name):
contents += f'\nusing "{self._toolset}" : {self._toolset_version} : '

cxx_fwd_slahes = self._cxx.replace("\\", "/")
if is_msvc(self):
contents += f' "{cxx_fwd_slahes}"'
else:
contents += f' {cxx_fwd_slahes}'
if cxx_fwd_slahes:
contents += f" \"{cxx_fwd_slahes}\""

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

0 comments on commit 2e846ea

Please sign in to comment.