diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-16 07:44:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-16 07:44:08 +0400 |
commit | 9d31c99c26956ecedf0bdcf9e02ce412d313257b (patch) | |
tree | 5b1527e60779e65cd0e17e0c92acb93c84a923bd /build_files/cmake/project_info.py | |
parent | 683e6faf81d763b75dee3237a03ecda0705a18ba (diff) |
support for creating project files in utf8 paths (was defaulting to ascii and throwing errors)
Diffstat (limited to 'build_files/cmake/project_info.py')
-rwxr-xr-x | build_files/cmake/project_info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/project_info.py b/build_files/cmake/project_info.py index eed002ce7ba..0b922979a63 100755 --- a/build_files/cmake/project_info.py +++ b/build_files/cmake/project_info.py @@ -186,7 +186,7 @@ def cmake_advanced_info(): def cmake_cache_var(var): - cache_file = open(join(CMAKE_DIR, "CMakeCache.txt")) + cache_file = open(join(CMAKE_DIR, "CMakeCache.txt"), encoding='utf-8') lines = [l_strip for l in cache_file for l_strip in (l.strip(),) if l_strip if not l_strip.startswith("//") if not l_strip.startswith("#")] cache_file.close() |