Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cmake config file patching on Windows #3399

Merged
merged 15 commits into from Oct 8, 2018
@@ -238,7 +238,7 @@ def replace_in_file(file_path, search, replace, strict=True):

def replace_path_in_file(file_path, search, replace, strict=True, windows_paths=None):
if windows_paths is False or (windows_paths is None and platform.system() != "Windows"):
return replace_in_file(file_path, search, replace, strict=True)
return replace_in_file(file_path, search, replace, strict=strict)

def normalized_text(text):
return text.replace("\\", "/").lower()
@@ -12,7 +12,7 @@
from conans.client.tools.oss import detected_architecture, os_info
from conans.errors import ConanException
from conans.util.env_reader import get_env
from conans.util.files import decode_text, save, mkdir_tmp, load
from conans.util.files import decode_text, save, mkdir_tmp
from conans.unicode import get_cwd

_global_output = None
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.