update makefiles to waive unsupported samples on QNX

This commit is contained in:
Rutwik Choughule 2022-01-27 17:57:02 +05:30
parent 805e60bdfc
commit 0cbe5f2d82
2 changed files with 12 additions and 0 deletions

View File

@ -272,6 +272,12 @@ ifeq ($(TARGET_OS),darwin)
SAMPLE_ENABLED := 0
endif
# This sample is not supported on QNX
ifeq ($(TARGET_OS),qnx)
$(info >>> WARNING - batchedLabelMarkersAndLabelCompressionNPP is not supported on QNX - waiving sample <<<)
SAMPLE_ENABLED := 0
endif
ALL_LDFLAGS :=
ALL_LDFLAGS += $(ALL_CCFLAGS)
ALL_LDFLAGS += $(addprefix -Xlinker ,$(LDFLAGS))

View File

@ -272,6 +272,12 @@ ifeq ($(TARGET_OS),darwin)
SAMPLE_ENABLED := 0
endif
# This sample is not supported on QNX
ifeq ($(TARGET_OS),qnx)
$(info >>> WARNING - watershedSegmentationNPP is not supported on QNX - waiving sample <<<)
SAMPLE_ENABLED := 0
endif
ALL_LDFLAGS :=
ALL_LDFLAGS += $(ALL_CCFLAGS)
ALL_LDFLAGS += $(addprefix -Xlinker ,$(LDFLAGS))