Skip to content

Commit 6241725

Browse files
committed
Makefile depth fix
1 parent 393ac15 commit 6241725

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/openFrameworksCompiled/project/makefileCommon/config.shared.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ $(error This package doesn't support your platform, $(OF_LIBS_OF_COMPILED_PROJEC
227227
endif
228228

229229
# generate a list of valid core platform variants from the files in the platform makefiles directory
230-
AVAILABLE_PLATFORM_VARIANTS=$(shell $(FIND) $(OF_PLATFORM_MAKEFILES)/config.*.mk -maxdepth 1 -type f | sed -E 's/.*\.([^\.]*)\.mk/\1/' )
230+
AVAILABLE_PLATFORM_VARIANTS=$(shell $(FIND) $(OF_PLATFORM_MAKEFILES)/config.*.mk -maxdepth 2 -type f | sed -E 's/.*\.([^\.]*)\.mk/\1/' )
231+
$(info AVAILABLE_PLATFORM_VARIANTS=$(AVAILABLE_PLATFORM_VARIANTS))
231232
AVAILABLE_PLATFORM_VARIANTS+=default
232233

233234
# check to see if we have a file for the desired variant. if not, quit and list the variants.

0 commit comments

Comments
 (0)