aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/cmake/toolchain.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-17 14:49:48 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-17 14:49:48 +0300
commit4c7e63364f53b940084bc46ca2d29b50dc3aab7f (patch)
tree455f792fb30370d6468f7e1556b6210043e82258 /project/cmake/toolchain.py
parentGIANT CLUSTERFUCK OF A COMMIT (diff)
downloadcmake-common-4c7e63364f53b940084bc46ca2d29b50dc3aab7f.tar.gz
cmake-common-4c7e63364f53b940084bc46ca2d29b50dc3aab7f.zip
fix PyLint warnings
Diffstat (limited to '')
-rw-r--r--project/cmake/toolchain.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/project/cmake/toolchain.py b/project/cmake/toolchain.py
index 7c96628..7966192 100644
--- a/project/cmake/toolchain.py
+++ b/project/cmake/toolchain.py
@@ -189,7 +189,8 @@ class Makefile(Toolchain):
def _get_config_path(build_dir):
return os.path.join(build_dir, 'custom_toolchain.cmake')
- def _get_makefile_generator(self):
+ @staticmethod
+ def _get_makefile_generator():
if on_windows():
if shutil.which('mingw32-make'):
return 'MinGW Makefiles'