diff --git a/src/actions/make/make_cpp.lua b/src/actions/make/make_cpp.lua index e5a9ac6d..5d24ccac 100644 --- a/src/actions/make/make_cpp.lua +++ b/src/actions/make/make_cpp.lua @@ -9,7 +9,7 @@ local cc = premake[_OPTIONS.cc] -- build a list of supported target platforms that also includes a generic build - local platforms = premake.filterplatforms(prj.solution, cc.platforms) + local platforms = premake.filterplatforms(prj.solution, cc.platforms, "Native") -- write a quick header _p('# %s project makefile autogenerated by Premake', premake.actions[_ACTION].shortname) diff --git a/src/actions/make/make_solution.lua b/src/actions/make/make_solution.lua index a5149333..25f12fff 100644 --- a/src/actions/make/make_solution.lua +++ b/src/actions/make/make_solution.lua @@ -9,7 +9,7 @@ local cc = premake[_OPTIONS.cc] -- build a list of supported target platforms that also includes a generic build - local platforms = premake.filterplatforms(sln, cc.platforms) + local platforms = premake.filterplatforms(sln, cc.platforms, "Native") -- write a header showing the build options local cfgpairs = { }