mirror of
https://github.com/swaywm/sway.git
synced 2025-11-23 06:59:48 -05:00
make gdk-pixbuf dependency really optional
This commit is contained in:
parent
66554698a0
commit
21014e606b
9 changed files with 62 additions and 13 deletions
|
|
@ -1,7 +1,6 @@
|
|||
include_directories(
|
||||
${PROTOCOLS_INCLUDE_DIRS}
|
||||
${PANGO_INCLUDE_DIRS}
|
||||
${GDK_PIXBUF_INCLUDE_DIRS}
|
||||
${XKBCOMMON_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
|
@ -17,6 +16,14 @@ target_link_libraries(sway-wayland
|
|||
sway-common
|
||||
sway-protocols
|
||||
${PANGO_LIBRARIES}
|
||||
${GDK_PIXBUF_LIBRARIES}
|
||||
${XKBCOMMON_LIBRARIES}
|
||||
)
|
||||
|
||||
if (WITH_GDK_PIXBUF)
|
||||
include_directories(
|
||||
${GDK_PIXBUF_INCLUDE_DIRS}
|
||||
)
|
||||
target_link_libraries(sway-wayland
|
||||
${GDK_PIXBUF_LIBRARIES}
|
||||
)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue