1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2025-04-14 17:33:17 -04:00

fix(cmake): Add missing xpp dependencies

This is a spurious failure: it only fails out if the xpp headers aren't
generated before the drawtypes, modules, or utils directories begin
building. By depending on xpp explicitly, this ensures that xpp's
headers are generated first.
This commit is contained in:
Chase Geigle 2018-09-01 01:00:22 -05:00
parent 42fda5b105
commit 6ff04022c4
No known key found for this signature in database
GPG key ID: 1020EF3A7626F7DC
3 changed files with 14 additions and 2 deletions

View file

@ -8,4 +8,6 @@ make_library(polybar-drawtypes
progressbar.cpp
ramp.cpp
INCLUDE_DIRS
${dirs})
${dirs}
RAW_DEPENDS
${libs})

View file

@ -9,6 +9,7 @@ if(ENABLE_ALSA)
${dirs}
${alsa-dirs}
RAW_DEPENDS
${libs}
${alsa-libs})
endif()
@ -22,6 +23,7 @@ if(ENABLE_CURL)
${dirs}
${curl-dirs}
RAW_DEPENDS
${libs}
${curl-libs})
endif()
@ -35,6 +37,7 @@ if(ENABLE_MPD)
${dirs}
${mpd-dirs}
RAW_DEPENDS
${libs}
${mpd-libs})
endif()
@ -48,6 +51,7 @@ if(ENABLE_NETWORK)
${dirs}
${net-dirs}
RAW_DEPENDS
${libs}
${net-libs})
endif()
@ -58,7 +62,9 @@ if(ENABLE_I3)
i3.cpp
INCLUDE_DIRS
${dirs}
${I3IPCPP_INCLUDE_DIRS})
${I3IPCPP_INCLUDE_DIRS}
RAW_DEPENDS
${libs})
endif()
if(ENABLE_PULSEAUDIO)
@ -71,6 +77,7 @@ if(ENABLE_PULSEAUDIO)
${dirs}
${pulse-dirs}
RAW_DEPENDS
${libs}
${pulse-libs})
endif()
@ -84,6 +91,7 @@ if(WITH_XKB)
${dirs}
${xkb-dirs}
RAW_DEPENDS
${libs}
${xkb-libs})
endif()
@ -112,4 +120,5 @@ make_library(polybar-modules-internal
INCLUDE_DIRS
${dirs}
RAW_DEPENDS
${libs}
polybar-utils-bspwm_shared)

View file

@ -39,5 +39,6 @@ if(ENABLE_I3)
${dirs}
${I3IPCPP_INCLUDE_DIRS}
RAW_DEPENDS
${libs}
${I3IPCPP_LIBRARIES})
endif()