Skip to content

Commit

Permalink
Fix backslashes in paths that might cause problems on Windows
Browse files Browse the repository at this point in the history
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
  • Loading branch information
davehadley and madebr authored Dec 27, 2020
1 parent 76da847 commit 8b41c8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/root/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,10 @@ def _configured_cmake(self):
"CMAKE_INSTALL_PREFIX": os.sep.join((self.package_folder, "res")),
# Fix some Conan-ROOT CMake variable naming differences
"PNG_PNG_INCLUDE_DIR": ";".join(
self.deps_cpp_info["libpng"].include_paths
self.deps_cpp_info["libpng"].include_paths.replace("\\", "/")
),
"LIBLZMA_INCLUDE_DIR": ";".join(
self.deps_cpp_info["xz_utils"].include_paths
self.deps_cpp_info["xz_utils"].include_paths.replace("\\", "/")
),
},
)
Expand Down

0 comments on commit 8b41c8a

Please sign in to comment.