mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
Allow using GTK file chooser instead of portal one (#387).
This commit is contained in:
parent
bdd4d28770
commit
4347b5c99c
@ -27,9 +27,15 @@ else
|
|||||||
SRC3 += ../../../nfd/nfd_cocoa.m
|
SRC3 += ../../../nfd/nfd_cocoa.m
|
||||||
LIBS += -framework CoreFoundation -framework AppKit
|
LIBS += -framework CoreFoundation -framework AppKit
|
||||||
else
|
else
|
||||||
SRC += ../../../nfd/nfd_portal.cpp
|
ifdef TRACY_GTK_FILESELECTOR
|
||||||
INCLUDES += $(shell pkg-config --cflags dbus-1)
|
SRC += ../../../nfd/nfd_gtk.cpp
|
||||||
LIBS += $(shell pkg-config --libs dbus-1)
|
INCLUDES += $(shell pkg-config --cflags gtk+-3.0)
|
||||||
|
LIBS += $(shell pkg-config --libs gtk+-3.0)
|
||||||
|
else
|
||||||
|
SRC += ../../../nfd/nfd_portal.cpp
|
||||||
|
INCLUDES += $(shell pkg-config --cflags dbus-1)
|
||||||
|
LIBS += $(shell pkg-config --libs dbus-1)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user