aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'project/cmake')
-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'