1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Link with Thread Building Blocks, if available.

This commit is contained in:
Bartosz Taudul
2019-07-28 01:53:39 +02:00
parent 2e8d20b6e8
commit 3e74d041c9
3 changed files with 15 additions and 0 deletions
+5
View File
@@ -25,6 +25,11 @@ else
LIBS += $(shell pkg-config --libs gtk+-2.0) -lGL
endif
TBB := $(shell ld -ltbb -o /dev/null 2>/dev/null; echo $$?)
ifeq ($(TBB),0)
LIBS += -ltbb
endif
OBJDIRBASE := obj/$(BUILD)
OBJDIR := $(OBJDIRBASE)/o/o/o