Skip to content

Commit 930e980

Browse files
cmagliefacchinm
authored andcommitted
cmake: removed redundant function
1 parent edaa626 commit 930e980

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

create_cmake_rule.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ func (s *ExportProjectCMake) Run(ctx *types.Context) error {
143143

144144
// Extract folders with .a in them for adding in static libs paths list
145145
var staticLibs []string
146-
isStaticLib := func(ext string) bool { return DOTAEXTENSION[ext] }
147-
utils.FindFilesInFolder(&staticLibs, cmakeFolder, isStaticLib, true)
146+
utils.FindFilesInFolder(&staticLibs, cmakeFolder, staticLibsExtensions, true)
148147

149148
// Generate the CMakeLists global file
150149

0 commit comments

Comments
 (0)